SA-MP Forums Archive
/admins help please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /admins help please (/showthread.php?tid=139808)



/admins help please - GanGXt3r_Ali - 06.04.2010

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;



Re: /admins help please - GanGXt3r_Ali - 06.04.2010

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


Re: /admins help please - GanGXt3r_Ali - 06.04.2010

Bump


Re: /admins help please - GanGXt3r_Ali - 06.04.2010

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



Re: /admins help please - GanGXt3r_Ali - 06.04.2010

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


Re: /admins help please - GanGXt3r_Ali - 06.04.2010

still same here..=[


Re: /admins help please - DarrenReeder - 06.04.2010

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


Re: /admins help please - GanGXt3r_Ali - 06.04.2010

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