How to count and show all players online in a DM zone.
#3

Now after doing Undef1ned's code, this is what happens when i do lobby:

https://imgur.com/a/Z6Y9vbl

Code:

PHP код:
CMD:lobby(playeridparams[])
{
    if(
InDM[playerid])
    {
        
SpawnUser(playerid);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE"You have returned to the lobby.");
        
InDM[playerid] = false;
        
CountInDM[0] -= 1;
        
CountInDM[1] -= 1;
    }
    else
    {
        
SendClientMessage(playeridCOLOR_LIGHTBLUE"You are not inside any DM area.");
    }
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)