Check online.
#1

Would it be functional? Take the character's name and warehouse in new, and so checking if the player is online, if so, send a message to him saying that the character is already in the game, is it functional?

PHP код:
****if(id*==*1)
    {
        for(new 
0MAX_PLAYERSi++)
        {
            new 
idonline GetPlayerID(Account[i][pPersonagem1]);
            if(
IsPlayerConnected(idonline)) return SendClientMessage(playeridCOLOR_ERROR"This character is already in the game. ");
        }
    } 
Reply


Messages In This Thread
Check online. - by SukMathcuck - 12.12.2016, 01:32

Forum Jump:


Users browsing this thread: 1 Guest(s)