Timers.
#1

Is bad this ?



pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                Ann_timer[i] = SetTimerEx("WelcomeTimer", 750, true, "i", i);
            }
        }
Reply
#2

Yes. You're setting 500 timers at the same time to do the same thing.
Why not just doing:
pawn Код:
Ann_timer = SetTime("WelcomeTimer", 750, true);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)