20.02.2014, 03:15
Oh, you want it like that? 0_o
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER)
{
if(IsValidVehicle(myCar[playerid])) DestroyVehicle(myCar[playerid]);
}
return 1;
}