22.03.2013, 22:27
the first method, i.e. one 1000ms timer running + doing a plain MAX_PLAYERS loop, is far more efficient than having 500 timers, where the overhead is needless to mention.
may i suggest to change one part into: (2nd edit, there needs to be >0, not >1 lol)
may i suggest to change one part into: (2nd edit, there needs to be >0, not >1 lol)
pawn Код:
if(CuffTime[i] > 0)
{
CuffTime[i] --;
}
else //this wont change any result nor behavior here, but its stable and easier to read
{