[solved]nodamage filterscript doesnt work
#10

if you dont want to loop it inside the timer, you can use SetTimerEx insted. like this

Код:
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;
}
No reason for not looping inside the timer, just so you know that you can do it this way aswell
Reply


Messages In This Thread
[solved]nodamage filterscript doesnt work - by killertrain - 21.06.2010, 17:02
Re: nodamage filterscript doesnt work - by iggy1 - 21.06.2010, 17:05
Re: nodamage filterscript doesnt work - by killertrain - 21.06.2010, 17:06
Re: nodamage filterscript doesnt work - by iggy1 - 21.06.2010, 17:10
Re: nodamage filterscript doesnt work - by Hiddos - 21.06.2010, 17:13
Re: nodamage filterscript doesnt work - by killertrain - 21.06.2010, 17:15
Re: nodamage filterscript doesnt work - by iggy1 - 21.06.2010, 17:18
Re: nodamage filterscript doesnt work - by killertrain - 21.06.2010, 17:18
Re: nodamage filterscript doesnt work - by killertrain - 21.06.2010, 17:20
Re: [solved]nodamage filterscript doesnt work - by Niixie - 21.06.2010, 18:02

Forum Jump:


Users browsing this thread: 3 Guest(s)