Hello everyone.
I'm trying to get circle index, but it gives me same index for every circle.
Fast testing code:
Like it's written in packets file:
UCOAction is changing, but Heading always is "12".
I'm trying to get circle index, but it gives me same index for every circle.
Fast testing code:
public function onINSIMCircle(IS_UCO $UCO)
{
$UCID = $this->getClientByPLID($UCO->PLID)->UCID;
IS_MTC()->Text('^3UCOAction: '. $UCO->UCOAction .' | Heading: '. $UCO->Info->Heading)->UCID($UCID)->send();
}
Like it's written in packets file:
// Identifying an InSim circle from the ObjectInfo :
// Index is 253. The circle index (seen in the autocross editor) is stored in the Heading byte.
UCOAction is changing, but Heading always is "12".