Quote:
Originally Posted by Mr_DjolE
Should work...
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid) { for(new i=0; i<MAX_VEHICLES; i++) SetTimerEx("ResetCar", 60000, 0,"d", vehicleid); } forward ResetCar(vehicleid); public ResetCar(vehicleid) { DestroyVehicle(vehicleid); return 1; }
|
Aww yeah! It works! What happens if a user gets back in the car in that minute? Will the car still disappear?
--EDIT--
Tested, car will disappear, can you also build in that that doesn't happen? Would be greatly apriciatied!