Quote:
Originally Posted by Mr_DjolE
Should work...
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid) { for(new i=0; i<MAX_VEHICLES; i++)// < What is this for? You dont need this. SetTimerEx("ResetCar", 60000, 0,"d", vehicleid); } forward ResetCar(vehicleid); public ResetCar(vehicleid) { DestroyVehicle(vehicleid); return 1; }
|
Remove the for-loop, you dont even use it.