22.01.2013, 13:05
pawn Code:
new PlayerCar[MAX_PLAYERS];
OnPlayerDisconnect(
if(PlayerCar[playerid] > 0) { DestroyVehicle(PlayerCar[playerid] ); PlayerCar[playerid] = 0; }
In cmd
if(PlayerCar[playerid] > 0) { DestroyVehicle(PlayerCar[playerid] ); }
PlayerCar[playerid] = CreateVehicle(..