/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
#2

why the fuck no one is answering atleast u guys tell me
Reply
#3

Bump
Reply
#4

i get these errors pls and thnx alot 4 ur answer

pawn Код:
F:\New Folder (2)\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(388) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(389) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(390) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(391) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(392) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(393) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(394) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(395) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(396) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(397) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(398) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(399) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(400) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(401) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(402) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(403) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(404) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(405) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(406) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(407) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(408) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(409) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(410) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(411) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(412) : error 004: function "PlayerToPoint" is not implemented
Reply
#5

Quote:
Originally Posted by MaykoX[PSYCHO
]
Quote:
Originally Posted by GanGXt3r_Ali
i get these errors pls and thnx alot 4 ur answer

pawn Код:
F:\New Folder (2)\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(388) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(389) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(390) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(391) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(392) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(393) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(394) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(395) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(396) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(397) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(398) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(399) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(400) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(401) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(402) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(403) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(404) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(405) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(406) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(407) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(408) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(409) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(410) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(411) : error 004: function "PlayerToPoint" is not implemented
D:\NEWFOL~1\NEWFOL~1\GAMEMO~1\nyrp.pwn(412) : error 004: function "PlayerToPoint" is not implemented
I forgot a barcket going to fix it now.
Thank you So muchhhh
Reply
#6

still same here..=[
Reply
#7

there

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)
                  {
                        if(PlayerInfo[i][pAdmin] == 1){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else if(PlayerInfo[i][pAdmin] == 2){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else if(PlayerInfo[i][pAdmin] == 3){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else if(PlayerInfo[i][pAdmin] == 4){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else{
                        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;
Fill it out urself
Reply
#8

Quote:
Originally Posted by DarrenReeder
there

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)
                  {
                        if(PlayerInfo[i][pAdmin] == 1){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else if(PlayerInfo[i][pAdmin] == 2){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else if(PlayerInfo[i][pAdmin] == 3){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else if(PlayerInfo[i][pAdmin] == 4){
                        format(string, 256, "Administrator: %s - [Administrator Level: %d]", GetPlayerNameEx(i),PlayerInfo[i][pAdmin]);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        }else{
                        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;
Fill it out urself
thank you so much,bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)