25.01.2013, 17:42
What can I do so that when a player leaves a vehicle it destroys after 30 seconds. Thank you
forward DestroyVehicle; public OnPlayerExitVehicle(playerid, vehicleid) { SetTimerEx("DestroyVehicle", 30000, false, "i", vehicleid); return 1; } public DestroyVehicle(vehicleid) { DestroyVehicle(vehicleid); return 1; }
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetTimerEx("_DestroyVehicle", 30000, false, "i", vehicleid);
return 1;
}
forward _DestroyVehicle(vehicleid);
public _DestroyVehicle(vehicleid) return DestroyVehicle(vehicleid);