COMMAND /admins in Dialog Please
#6

Try this one:
PHP код:
CMD:admins(playeridparams[])
{
    new
        
string2 200 ],
        
string  200 ],
        
admincount 0;
    foreach(new 
Player)
    {
        if(
User[i][accountLogged] == 1)
        {
            if(
User[i][accountAdmin] >= 1)
            {
                
admincount++;
                
format(string2sizeof(string2), "(%d). %s - [%d level]"admincountpName(i), User[i][accountAdmin]);
                
strcat(stringstring2);
            }
        }
    }
    
    if(
admincount == 0) return SendClientMessage(playerid, -1"There are no Administrators online at the moment.");
    return 
1;

Reply


Messages In This Thread
COMMAND /admins in Dialog Please - by Twiix - 27.05.2016, 14:56
Re: COMMAND /admins in Dialog Please - by SyS - 27.05.2016, 14:59
Re: COMMAND /admins in Dialog Please - by Twiix - 27.05.2016, 15:23
Re: COMMAND /admins in Dialog Please - by SyS - 27.05.2016, 15:25
Re: COMMAND /admins in Dialog Please - by Twiix - 27.05.2016, 15:40
Re: COMMAND /admins in Dialog Please - by luke49 - 27.05.2016, 17:19
Re: COMMAND /admins in Dialog Please - by Sew_Sumi - 27.05.2016, 17:41
Re: COMMAND /admins in Dialog Please - by Twiix - 27.05.2016, 18:47
Re: COMMAND /admins in Dialog Please - by jlalt - 27.05.2016, 18:54
Re: COMMAND /admins in Dialog Please - by Twiix - 27.05.2016, 19:01

Forum Jump:


Users browsing this thread: 1 Guest(s)