[Help] Put this into DIALOG_STYLE_MSGBOX
#4

Try with this

PHP код:
CMD:admins(playeridparams[])
{
    
    
//SendClientMessage(playerid, COLOR_ORANGE, "---------------------ONLINE ADMINS---------------------");
    
for(new 0MAX_PLAYERSi++)
    {
        if(
PlayerData[i][Admin] > 0)
        {
            new 
IsAdmin;
            new 
String[64];
            new 
Name[256];
            
GetPlayerName(iNamesizeof(Name));
            if(
PlayerData[i][Admin] == 1AdminLevel "Level: 1 [Newbie]";
            if(
PlayerData[i][Admin] == 2AdminLevel "Level: 2 [Moderator]";
            if(
PlayerData[i][Admin] == 3AdminLevel "Level: 3 [Admin]";
            if(
PlayerData[i][Admin] == 4AdminLevel "Level: 4 [Sub-Owner]";
            if(
PlayerData[i][Admin] == 5AdminLevel "Level: 5 [Owner]";
            
format(Stringsizeof(String), "%s{FFFFFF}%s - %s ",StringNameAdminLevel);
            
ShowPlayerDialog(playerid1DIALOG_STYLE_MSGBOX"ONLINE ADMINS"String"Close""");
            
IsAdmin ++;
        }
    }
    if(
IsAdmin == 0)
    {
        
ShowPlayerDialog(playerid2DIALOG_STYLE_MSGBOX"ONLINE ADMINS""{FFFFFF}No online Admins!""Close""");
    }
    
IsAdmin 0;
    return 
1;

Reply


Messages In This Thread
[Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 08.08.2015, 23:42
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Maximun - 08.08.2015, 23:44
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 08.08.2015, 23:47
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Maximun - 09.08.2015, 00:02
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Jefff - 09.08.2015, 00:08
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 09.08.2015, 00:19
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Jefff - 09.08.2015, 00:21
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 09.08.2015, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)