02.10.2012, 16:38
Try this:
Код:
public OnPlayerExitVehicle(playerid, vehicleid) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new currentveh; currentveh = GetPlayerVehicleID(playerid); DestroyVehicle(currentveh); SetTimerEx("cardestroyedhide", 60000 , 0, "i", playerid); } return 1; }