What's better: per-player timers or a global timer?
#1

What I mean is, Which is better?

Код:
public Timer()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
SetPlayerHealth(i,100);
}
}
OR

Код:
public Timer(playerid)
{
SetPlayerHealth(playerid,100);
}
Keep in mind both timers are doing the same thing, per se.
Reply


Messages In This Thread
What's better: per-player timers or a global timer? - by Aerotactics - 29.10.2015, 06:07
Re: What's better: per-player timers or a global timer? - by Gammix - 29.10.2015, 06:37
Re: What's better: per-player timers or a global timer? - by DobbysGamertag - 29.10.2015, 06:47
Re: What's better: per-player timers or a global timer? - by Aerotactics - 29.10.2015, 06:51

Forum Jump:


Users browsing this thread: 1 Guest(s)