[Help] My /ahelp command.
#2

Here is an example


pawn Код:
if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] >= 1)
            {
                SendClientMessage(playerid, COLOR_WHITE, "*** Duty *** /adminduty");
                SendClientMessage(playerid, COLOR_GRAD1, "*** Level 1 Moderator ***  /fly /check /setint /setvw /mute /kick /kickres /masked /unfreeze /learn");
                SendClientMessage(playerid, COLOR_GRAD1, "*** Level 1 Moderator *** /ban /slap /goto /a (/ao)oc /name /setskin /ajail /freeze /specplayer /checkweapons");
            }
            if (PlayerInfo[playerid][pAdmin] >= 2)
            {
                SendClientMessage(playerid, COLOR_GRAD2,"*** Level 2 Administrator *** /skydive /noooc /setteam /bigears /respawnthiscar(/rtc) /agl /setjob /update");
            }
            if (PlayerInfo[playerid][pAdmin] >= 3)
            {
                SendClientMessage(playerid, COLOR_GRAD3,"*** Level 3 Administrator *** /cnnn /fourdive /gotols /prison /unprison /aunlock /apark /fuelcars /edit /vehslap");
                SendClientMessage(playerid, COLOR_GRAD4,"*** Level 3 Administrator *** /mark /gotomark /gotolv /gotosf /gethere /oldcar /gotocar /getcar /setage");
                SendClientMessage(playerid, COLOR_GRAD4,"*** Level 3 Administrator *** /respawnallcars /respawnrentbikes /respawnrentcars /unban /unbanip /fixveh");
            }
            if (PlayerInfo[playerid][pAdmin] >= 4)
            {
                SendClientMessage(playerid, COLOR_GRAD4,"*** Level 4 Administrator *** /mole /logout /logoutpl /logoutall /asellhouse /asellbiz /sellsbiz /setchamp /mk");
                SendClientMessage(playerid, COLOR_GRAD4,"*** Level 4 Administrator *** /destroycars /sethp /setarmor /forceskin /explode /supervehslap");
            }
            if (PlayerInfo[playerid][pAdmin] >= 1337)
            {
                SendClientMessage(playerid, COLOR_GRAD5,"*** Lead Administrator ***  /weather /weatherall /makeircadmin /makeadmin /makeleader /bizentrance /sbizentrance");
                SendClientMessage(playerid, COLOR_GRAD5,"*** Lead Administrator *** /asellcar /setstat /money(sets money)");
                SendClientMessage(playerid, COLOR_GRAD5,"*** Lead Administrator *** /givemoney /givegun /crash /changename /houseentrance /housexit /tod /startlotto");
            }
            if (PlayerInfo[playerid][pAdmin] >= 1338)
            {
                SendClientMessage(playerid, COLOR_GRAD6,"***  ***");
            }
        }
        return 1;
    }
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)