Undetectable bug? (Vehicle system - Car ID's - Won't despawn correctly)
#6

CreateVehicle can re-use vehicle ids.If you destroy a vehicle, that vehicle id becomes free so the next time you use CreateVehicle it will return the first unused vehicle id.

Therefore do not rely on vehicle ids(I mean using the same vehicle ids after respawn).Vehicle IDs can change.

Probably vehicle id 255 was destroyed at some point because of which CreateVehicle used 255.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)