[HELP]how to get /admins info
#2

pawn Code:
CMD:admins(playerid) {
    new string[128+MAX_PLAYER_NAME], plName[MAX_PLAYER_NAME];
    foreach(Player, i) {
        if(PlayerInfo[i][pAdmin] != 0) {
            GetPlayerName(i, plName, sizeof plName);
            format(string, sizeof string, "%sAdmin: %s(%d)\n", string, plName, i);
        }
        ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_MSGBOX, "Admins Online", string, "Okay, "");
    }
    return 1;  
}
Should work.
Reply


Messages In This Thread
[HELP]how to get /admins info - by fuckingcruse - 16.03.2015, 16:40
Re: [HELP]how to get /admins info - by Luis- - 16.03.2015, 16:49
Re: [HELP]how to get /admins info - by CalvinC - 16.03.2015, 16:52
Re: [HELP]how to get /admins info - by Luis- - 16.03.2015, 16:53
Re: [HELP]how to get /admins info - by ATGOggy - 16.03.2015, 16:56
Re: [HELP]how to get /admins info - by Luis- - 16.03.2015, 16:58
Re: [HELP]how to get /admins info - by ATGOggy - 16.03.2015, 17:00
Respuesta: Re: [HELP]how to get /admins info - by JuanStone - 16.03.2015, 17:05
Re: [HELP]how to get /admins info - by Luis- - 16.03.2015, 17:05
Re: [HELP]how to get /admins info - by ATGOggy - 16.03.2015, 17:08
Re: [HELP]how to get /admins info - by fuckingcruse - 17.03.2015, 03:03
Re: [HELP]how to get /admins info - by ATGOggy - 17.03.2015, 08:06

Forum Jump:


Users browsing this thread: 3 Guest(s)