21.06.2010, 18:02
if you dont want to loop it inside the timer, you can use SetTimerEx insted. like this
No reason for not looping inside the timer, just so you know that you can do it this way aswell
Код:
OnFilterScriptInit() { for(new i = 0; i < MAX_PLAYERS; i++) { SetTimerEx("myTimer", 5000, true, "d", i); } return 1; } forward myTimer(playerid); public myTimer(playerid) { RepairVehicle(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid,500); return 1; }