/admins help please
#1

i m using this i want to make my self head admin and i want to make 4 level will be lead admin and 3 lvl will be admin and level 2 and server moderator can some one help with this pleasee
appreciate.
pawn Код:
if(strcmp(cmd, "/admins", true) == 0)
    {
    if(IsPlayerConnected(playerid))
      {
        new count = 0;
            SendClientMessage(playerid, COLOR_RED, "<|> Admins Online <|>");
            for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                  if(PlayerInfo[i][pAdmin] >= 1)
                  {
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        count++;
                    }
                }
            }
            if(count == 0)
            {
                SendClientMessage(playerid, COLOR_WHITE, "(INFO) Currently no administrators");
            }
            SendClientMessage(playerid, COLOR_RED, "<|> Admins Online <|>");
        }
        return 1;
Reply


Messages In This Thread
/admins help please - by GanGXt3r_Ali - 06.04.2010, 13:39
Re: /admins help please - by GanGXt3r_Ali - 06.04.2010, 15:46
Re: /admins help please - by GanGXt3r_Ali - 06.04.2010, 18:34
Re: /admins help please - by GanGXt3r_Ali - 06.04.2010, 18:42
Re: /admins help please - by GanGXt3r_Ali - 06.04.2010, 18:45
Re: /admins help please - by GanGXt3r_Ali - 06.04.2010, 18:52
Re: /admins help please - by DarrenReeder - 06.04.2010, 19:27
Re: /admins help please - by GanGXt3r_Ali - 06.04.2010, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)