[Help] My /ahelp command.
#6

Quote:
Originally Posted by Windows32
Посмотреть сообщение
No it doesn't, he asked for a command on showing a list of commands for a specific admin rank.

You sir, are either stupid or just stupid.
Well, saying that won't show that you are very clever or even more intelligent lol ( no offense ).

Quote:
Originally Posted by poster
when the admin type like /adminhelp or something, it'll only shows the commands that are for their admin rank.
Windows32 you might need spectacles to read the bold.

Quote:
Originally Posted by Windows32
Посмотреть сообщение
Here is a blank one for an easier start.
pawn Код:
CMD:ahelp(playerid, params[])
{
    if(PlayerInfo[playerid][pAdminLevel] > 1)
    {
        //commands here.
    }
    else if(PlayerInfo[playerid][pAdminLevel] > 2)
    {
        //commands here
    }
    return 1;
}
Also this post is so useless lol it will only work for id 1 :/

Poster:So for that you will need to know the correct variables which your game-mode is using. If you want to use a default admin system which is RCON you can always use "IsPlayerAdmin".

For levels you need your own system and Edward is right it depends on your admin system. If you know the vars you can easily make it.

And to correct Windows32's script; remember, it is not necessary to use "IsPlayerConnected" in the command. You must use your common sense that if the player is not connected how he is going to use that command lol? think.

-FalconX
Reply


Messages In This Thread
[Help] My /ahelp command. - by JustinAn - 04.06.2012, 23:59
Re: [Help] My /ahelp command. - by Neo Karls - 05.06.2012, 00:24
Re: [Help] My /ahelp command. - by Elysian` - 05.06.2012, 00:26
Re: [Help] My /ahelp command. - by Edward156 - 05.06.2012, 00:28
Re: [Help] My /ahelp command. - by Elysian` - 05.06.2012, 00:32
Re: [Help] My /ahelp command. - by FalconX - 05.06.2012, 00:36
Re: [Help] My /ahelp command. - by JustinAn - 05.06.2012, 00:48
Re: [Help] My /ahelp command. - by ReneG - 05.06.2012, 00:52
Re: [Help] My /ahelp command. - by JustinAn - 05.06.2012, 11:24
Re: [Help] My /ahelp command. - by Neo Karls - 05.06.2012, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)