COMMAND /admins in Dialog Please
#10

Quote:
Originally Posted by jlalt
Посмотреть сообщение
Here you go ;_;

PHP код:
CMD:admins(playeridparams[])
{
    new 
Handle[560],string[80], count 0;
    
SendClientMessage(playerid, -1"** "orange"Online Administrators "white"**");
    foreach(new 
Player)
    {
        if(
User[i][accountLogged] == 1)
        {
            if(
User[i][accountAdmin] >= 1)
            {
                
format(stringsizeof(string), "(%d) %s - Level %d Admin"ipName(i), User[i][accountAdmin]);
                
strcat(Handlestring);
                
//SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
                
count++;
            }
        }
    }
    if(
count == 0) {
        
SendClientMessage(playerid, -1"No administrators online at the server.");
    }
    else {
        
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"Online Administrators"Handle"Close""");
    }
    return 
1;

Thank You, It's really working.
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: 2 Guest(s)