Problem with spawning a vehicle
#2

if(Vehicle[playerid] != 0)
!= INVALID_VEHICLEID
What if the ID of it is 0?

Do the same under OnPlayerDisconnect:
if(Vehicle[playerid] != INVALID_PLAYER_ID) DestroyVehicle(Vehicle[playerid]);

If it continues to have issues, I will test it in my script and resolve the issue.
Reply


Messages In This Thread
Problem with spawning a vehicle - by benjaminjones - 27.08.2015, 23:32
Re: Problem with spawning a vehicle - by bensmart469 - 27.08.2015, 23:52
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 00:43
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 14:43
Re: Problem with spawning a vehicle - by Logofero - 28.08.2015, 14:59
Re: Problem with spawning a vehicle - by Boot - 28.08.2015, 15:08
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 17:32
Re: Problem with spawning a vehicle - by GuthiX - 28.08.2015, 18:10
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 18:50

Forum Jump:


Users browsing this thread: 3 Guest(s)