Tips for "anti-vehicleID-bug" ?
#4

Let's say you spawn a vehicle and its vehicle ID is 5. You store that value to the variable and the vehicle gets destroyed. Another player (B) spawns a vehicle and its vehicle ID is 5 and it's stored to the variable. You try to set the vehicle's position but it sets the position for the other player (B).

Solution: Reset the variable when a vehicle is destroyed to INVALID_VEHICLE_ID.
Reply


Messages In This Thread
Tips for "anti-vehicleID-bug" ? - by nGen.SoNNy - 16.06.2014, 15:11
Re: Tips for "anti-vehicleID-bug" ? - by RenovanZ - 16.06.2014, 15:18
Re: Tips for "anti-vehicleID-bug" ? - by nGen.SoNNy - 16.06.2014, 15:19
Re: Tips for "anti-vehicleID-bug" ? - by Konstantinos - 16.06.2014, 15:24
Re: Tips for "anti-vehicleID-bug" ? - by Abagail - 16.06.2014, 15:25
Re: Tips for "anti-vehicleID-bug" ? - by nGen.SoNNy - 16.06.2014, 15:26
Re: Tips for "anti-vehicleID-bug" ? - by IstuntmanI - 20.07.2014, 09:12

Forum Jump:


Users browsing this thread: 1 Guest(s)