Question for mysql
#5

Quote:
Originally Posted by Mionee
Посмотреть сообщение
lol

@OP: Why don't you loop through all the current players? Like this:

pawn Код:
GetOnlinePlayers()
{
    new count;

    for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            count ++;
        }
    }

    return count;
}
I know that, but i just wanna to know can server lag if he every 1 sec check for number of rows via sql plugin
Reply


Messages In This Thread
Question for mysql - by Dusan01 - 12.11.2014, 05:21
Re: Question for mysql - by Sparke - 12.11.2014, 05:31
Re: Question for mysql - by Dignity - 12.11.2014, 05:35
Re: Question for mysql - by Sparke - 12.11.2014, 05:36
Re: Question for mysql - by Dusan01 - 12.11.2014, 05:51
Re: Question for mysql - by Dignity - 12.11.2014, 05:56
Re: Question for mysql - by Dusan01 - 12.11.2014, 05:58

Forum Jump:


Users browsing this thread: 1 Guest(s)