03.03.2011, 17:00
pawn Код:
public OnPlayerExitVehicle( playerid, vehicleid )
{
SetTimerEx( "PlsDeleteVehicle", 15000, 0, "d", vehicleid );
return true;
}
forward PlsDeleteVehicle( vehicleid );
public PlsDeleteVehicle( vehicleid )
{
DestroyVehicle( vehicleid );
return true;
}
https://sampwiki.blast.hk/wiki/OnPlayerExitVehicle
for more info.