Some annoying bug
#5

It's the second reason I mentioned.

Player A spawns a vehicle with vehicle ID 1.
Player A's vehicle gets destroyed.
Player B spawns a vehicle with ID 1.
Player A spawns a vehicle with vehicle ID 2 but the server destroys Player B's vehicle as the variable was never reset (previous vehicle of Player A was the vehicle with ID 1).

Whenever the vehicle is destroyed, find who player had it stored and reset the variable CarId[playerid] to INVALID_VEHICLE_ID.
Reply


Messages In This Thread
Some annoying bug - by suni - 31.05.2015, 13:38
Re: Some annoying bug - by Jakwob - 31.05.2015, 13:39
Re: Some annoying bug - by Konstantinos - 31.05.2015, 14:08
Re: Some annoying bug - by suni - 31.05.2015, 14:23
Re: Some annoying bug - by Konstantinos - 31.05.2015, 14:29
Re: Some annoying bug - by suni - 31.05.2015, 15:07
Re: Some annoying bug - by amirm3hdi - 31.05.2015, 15:24
Re: Some annoying bug - by SoFahim - 31.05.2015, 15:27
Re: Some annoying bug - by suni - 31.05.2015, 15:55
Re: Some annoying bug - by SoFahim - 31.05.2015, 16:59

Forum Jump:


Users browsing this thread: 3 Guest(s)