SA-MP Forums Archive
Cmd help ! (ZCMD - /admins) - 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: Cmd help ! (ZCMD - /admins) (/showthread.php?tid=243810)



Cmd help ! (DCMD - /admins) - Michael@Belgium - 24.03.2011

NVM NVM NVM


Re: Cmd help ! (ZCMD - /admins) - Mike Garber - 24.03.2011

No.. Please... No??

Sorry for my language but..
WTF is this??
pawn Код:
if(IsPlayerAdmin(x)){
      VarR=1;}}
  if(Var==1){



Re: Cmd help ! (ZCMD - /admins) - Michael@Belgium - 24.03.2011

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
No.. Please... No??

Sorry for my language but..
WTF is this??
pawn Код:
if(IsPlayerAdmin(x)){
      VarR=1;}}
  if(Var==1){
lol idk but if i login as rcon then he says the rcon admin too.. don't deletee that xD


Re: Cmd help ! (ZCMD - /admins) - OldDirtyBastard - 24.03.2011

And that code is so horribly indentified, im actualy suprised that anyone can read this.


Re: Cmd help ! (ZCMD - /admins) - Michael@Belgium - 24.03.2011

Quote:
Originally Posted by OldDirtyBastard
Посмотреть сообщение
And that code is so horribly indentified, im actualy suprised that anyone can read this.
OK ! I just want a code for /admins xD This code is from another gm, and i putted in my gm..

pawn Код:
//I want that too:
//if im logged in and anyone type /admins then it says that:
format(str, sizeof(str), "- %s | (id: %d) | [RCON ADMIN]", name2, i), SendClientMessage(playerid, COLOR_YELLOW, str);

//and for the other admin this:
format(str, sizeof(str), "- %s | (id: %d) | [Level: %d]", name2, i, PlayerInfo[playerid][level]), SendClientMessage(playerid, COLOR_WHITE, str);
i


Re: Cmd help ! (ZCMD - /admins) - Hal - 24.03.2011

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
OK ! I just want a code for /admins xD This code is from another gm, and i putted in my gm..

pawn Код:
//I want that too:
//if im logged in and anyone type /admins then it says that:
format(str, sizeof(str), "- %s | (id: %d) | [RCON ADMIN]", name2, i), SendClientMessage(playerid, COLOR_YELLOW, str);

//and for the other admin this:
format(str, sizeof(str), "- %s | (id: %d) | [Level: %d]", name2, i, PlayerInfo[playerid][level]), SendClientMessage(playerid, COLOR_WHITE, str);
i
Posting code from other GM'S .... WILL NOT WORK!!!!! Plus, when you do that you NEVER learn.


Re: Cmd help ! (ZCMD - /admins) - Michael@Belgium - 24.03.2011

Quote:
Originally Posted by Hal
Посмотреть сообщение
Posting code from other GM'S .... WILL NOT WORK!!!!! Plus, when you do that you NEVER learn.
i can script already, but ... it's converted from the other gm to my gm ... and that don't work ... cmon xD


Re: Cmd help ! (ZCMD - /admins) - ricardo178 - 24.03.2011

Why you wrote in title ZCMD if your using DCMD?


Re: Cmd help ! (ZCMD - /admins) - Michael@Belgium - 24.03.2011

Quote:
Originally Posted by ricardo178
Посмотреть сообщение
Why you wrote in title ZCMD if your using DCMD?
Ow lol I FAILED...

GOD DAMN IT JUST DELETE THIS TOPIC !!! :-/