28.01.2014, 22:25
Quote:
Why u use the loop?
Код:
public OnPlayerExitVehicle(playerid, vehicleid) { SetTimerEx("DesVeh", 6000, 0, "i", vehicleid); return 1; } forward DesVeh(vehid); public DesVeh(vehid) { SetVehicleToRespawn(vehid); } |
Making it for 1 player is the wrong way to go since basically you can't tell who's in vehicle without looping through MAX_PLAYERS and making the checks. Stop worrying! Your code is all good, if you notice something in performence while running it then come here and make a report otherwise it's all nice!