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

Do you have any code at OnVehicleDeath?

If not, the following could happen:

Player A spawns a vehicle with ID 1.
This vehicle explodes and despawns.
Player B spawns a vehicle, this vehicle will have ID 1.
Player A spawns a new vehicle, causing vehicle ID 1 to be deleted because his variable was not reset.

I hope it helps.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)