07.05.2011, 16:23
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
DestroyVehicle(currentveh);
TextDrawShowForPlayer(playerid,Cardestroyed);
SetTimerEx("cardestroyedhide", 5000, 0, "i", playerid);
}
return 1;
}