Command Problem
#1

This is not showing me as an admin online
could someone help


pawn Код:
CMD:admins(playerid,params[])
{
    foreach(Player, i)
    {
        new level[128],status[200], string[128];

        if(PlayerInfo[i][pAdmin] >= 1)
        {
            switch(PlayerInfo[i][pAdmin])
            {
                case 1: level = "[Helping Staff]";
                case 2: level = "[Junior Moderator]";
                case 3: level = "[Moderator]";
                case 4: level = "[Junior Admin]";
                case 5: level = "[Lead Admin]";
                case 6: level = "[Community Co-Owner]";
                case 7: level = "[Community Owner]";
            }
            switch(PlayerInfo[i][pAStatus])
            {
                case 1: status = "[Administrating]";
                case 2: status = "[Roleplaying]";
                case 3: status = "[Off Duty]";
            }
            format(string, sizeof(string), "%s %s: %s\n", level, GetName(i),status);
            SendClientMessage(playerid,-1,string);      }
        else{
        ShowPlayerDialog(playerid, 500,DIALOG_STYLE_MSGBOX, "Notice","There Are Currently No Admins Online But They May Be Hiding From The List", "Close", "");
    }
    }
    return 1;
}
Reply
#2

BUMP
Reply
#3

Try

Scriptfiles > Serverdata > players > (click you) > change level from 0>5.


Also try to only bump threads every 24 hours.
Reply
#4

Quote:
Originally Posted by MrPlatinum
Посмотреть сообщение
Try

Scriptfiles > Serverdata > players > (click you) > change level from 0>5.


Also try to only bump threads every 24 hours.
Its 48 hours.

are you sure your an administrator on your server?
Reply
#5

Quote:
Originally Posted by Riddy
Посмотреть сообщение
Its 48 hours.
Ah yes, my apologies.. my eyes playing tricks on me again.
Reply
#6

Removed
Reply
#7

EDIT: Iv got it working in SendClientMessage ill try later getting it working in dialog guess it was because i was tired
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)