SA-MP Forums Archive
How To Add Commands On Admin Level 9 ? - 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)
+--- Thread: How To Add Commands On Admin Level 9 ? (/showthread.php?tid=387574)



How To Add Commands On Admin Level 9 ? - [IND]Crazy - 25.10.2012

How To Add Any Commands to admin level 9 in script moneypimp
only add /god /healall /armourall /getall /setallcash


Re: How To Add Commands On Admin Level 9 ? - zT KiNgKoNg - 25.10.2012

Quote:
Originally Posted by ******
Посмотреть сообщение
As you didn't say anything about the script itself or how admin levels are defined, I'm going to pretend you're using YSI:

pawn Код:
Group_SetGlobalCommand(YCMD:god, false);
Group_SetCommand(groupLevel9, YCMD:god, true);
// Repeat for other commands.
Or, using the swanky new syntax:

pawn Код:
GROUP_ADD<groupLevel9>
{
    @YCMD:god;
    @YCMD:healall;
    @YCMD:armourall;
    @YCMD:getall;
    @YCMD:setallcash;
}
Easy!
Agreed, You love your YSI dont you


Re: How To Add Commands On Admin Level 9 ? - dannyk0ed - 25.10.2012

Quote:
Originally Posted by Ultra-Gaming
Посмотреть сообщение
Agreed, You love your YSI dont you
Obviously, he did create it..


Re: How To Add Commands On Admin Level 9 ? - gtakillerIV - 25.10.2012

Take his place, he took ALOT of time to create YSI so that's why he is advertising it to make it famous. Anyone in his place would've done that because if you don't the thing that took you alot of time will be put to waste.

But his YSI is great.

Anyways you will need to create a User System first so follow this tutorial:

https://sampforum.blast.hk/showthread.php?tid=273088

It will explain everything.


Re: How To Add Commands On Admin Level 9 ? - zT KiNgKoNg - 25.10.2012

Quote:
Originally Posted by dannyk0ed
Посмотреть сообщение
Obviously, he did create it..
That was my point