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


Forum Jump:


Users browsing this thread: 1 Guest(s)