27.08.2015, 23:52
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.
!= 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.