CMD:admins
#4

pawn Код:
CMD:admins(playerid, params[])
{
    new string[128];
    foreach(new i : Player)
    {
        if (PlayerData[i][pAdmin] > 0 && PlayerData[i][pAdminHide] < 1)
        {
            if(PlayerData[i][pAdminDuty]) format(string,sizeof(string), "%s\t{33CC33}(Level: %d)\t {01DF01}(On Duty)\n%s", ReturnName(i, 0), PlayerData[i][pAdmin],string);
            else format(string,sizeof(string), "%s\t{33CC33}(Level: %d)\t {DF0101}(Off Duty)\n%s", ReturnName(i, 0), PlayerData[i][pAdmin],string);
        }
        else format(string,sizeof(string), "There's no online Administrators.");
    }
    Dialog_Show(playerid, AdminList, DIALOG_STYLE_TABLIST, "Adminitrators", string, "OK", "");
    return 1;
}
Reply


Messages In This Thread
CMD:admins - by Connor Smith - 28.03.2015, 10:20
Re: CMD:admins - by Sanady - 28.03.2015, 10:25
Re: CMD:admins - by fuckingcruse - 28.03.2015, 10:27
Re: CMD:admins - by Juvanii - 28.03.2015, 10:35
Re: CMD:admins - by Tihoy232 - 04.04.2018, 06:42
Re: CMD:admins - by Drak03 - 04.04.2018, 11:59
Re: CMD:admins - by ForCop - 05.04.2018, 07:56

Forum Jump:


Users browsing this thread: 1 Guest(s)