Admin Commands
#1

I am trying to script if you right "/ahelp 1" admin lvl 1 commands must pop up and when i right /ahelp it should show me a message "Type /ah 1 if you admin lvl 1 etc.

My Code:

PHP код:
    if(strcmp(cmd"/ahelp"true) == || strcmp(cmd"/ah"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            new 
alevel PlayerInfo[playerid][pAdmin];
            if(
alevel 0)
            {
                
SendClientMessage(playeridCOLOR_GREEN,"_______________________________________");
                if(
alevel >= 1)
                {
                    
SendClientMessage(playeridSCOLOR_CYAN"Server Moderator : /listguns /check /spec /setint /setvw /mute /nmute (/a)dmin /warnings /ch /kcc /senddmv");
                    return 
1;
                }
                if(
alevel >= 2)
                {
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /skydive /bigears /freeze /unfreeze /slap /warn /cnn /rmute /goto /sendtols");
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /refund /tuteject /hoseject /fuelcars /setjob /forcetut");
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /freezeplayers /unfreezeplayers /setskin /muteplayers /unmuteplayers /admute");
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /listmuted /listmasked /kick /ban /aduty /adutyoff /checkprison /afgate /agate");
                }
                if(
alevel >= 3)
                {
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /noooc /fourdive /jail /prison /fine /startlotto /ramps /setcarhp /sorry /rhv");
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /getcar /rav /mark /goto /gethere /oldcar /pann /mole /had /ipcheck /countdown /disarm /nohospital /setaccent");
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /rhw /cp /mole /had /ipcheck /countdown /disarm /nohospital /setaccent /acolorcar /setgas /setcarint /setcarvw");
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /fws /atazer /amask");
                }
                if(
alevel >= 4)
                {
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /setchamp /sethpall /setarmorall /fixvehall /givenos /blowup /setname /listcars /duel /getip /setage");
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /veh /vehmenu /fixveh /sethp /setarmor /givegun /givegunall /setgunskill /givemoney /setmoney /setstat /setfightstyle /setanim /givecookieall /givegoldbarall");
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /setplayercolor /setplayerwanted /load /adivorce /makeircadmin /destroycar");
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /destroycars /eventhelp /setcrime /givecookie /gotobluebus /gotoblackbus /fartbomb");
                }
                if(
alevel >= 1337)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Head Administrator: /weather /weatherall /tod /dedit /pointtime /adetain");
                    
SendClientMessage(playeridCOLOR_GREEN,"Head Administrator: /gotocar /pban /unban /banaccount /gotocar /wl /setcolor /banip /unbanip /deleteaccount /rangeban");
                    
SendClientMessage(playeridCOLOR_GREEN,"Head Administrator: /giftbox /editpoint /setgoldbars /givegoldbar /goincar /fire /re(sources)");
                 }
                if(
alevel >= 1338)
                {
                    
SendClientMessage(playeridCOLOR_BLUE,"Community Manager: /hqcreate /hqdelete /ganghqid /createfamgate /deletefamgate /editfamgate /famgateeditor /famegateid /fedit");
                    
SendClientMessage(playeridCOLOR_BLUE,"Community Manager: /createfacgate /deletefacgate /facgateeditor /editfacgate /facgateid /editfaction /editfactionpay /createfcar /deletefcar");
                    
SendClientMessage(playeridCOLOR_BLUE,"Community Manager: /creategate /deletegate /editgate /gateid /acceptrequest");
                }
                if(
alevel >= 1339)
                {
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /bizint /createbiz /deletebiz /bizlevel /bizprice /biztype /bizprods /movebiz /clearbiz /setbizowner /gotobiz /lockbiz");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /houseint /chouseint /createhouse /deletehouse /houselevel /houseprice /movehouse /clearhouse /sethouseowner /gotohouse");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createfamily /deletefamily");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createbuilding /deletebuilding /buildingname /lockbuilding /movebuilding /buildingvw /makebuildingvip /sbm(setbuildingmusic) /gotobuilding");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createentrance /editentrance /entranceid /deleteentrance /gotoentrance ");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /creategarage /deletegarage /editgarage /gotogarage /garageid /gotogarage");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createmotel /deletemotel /movemotel /motelvw /lockmotel /makemotelvip /motelname /gotomotel");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createcar /deletecar /setcarinfo /createpcar /deletepcar /parkpcar");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createdrivethru /deletedrivethru /editdrivethru");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createHSS /deleteHSS /hssignid");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createmapicon /editmapicon /nearmapicon");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createMAPB /deleteMAPB");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createinfoboard /deleteinfoboard /setinfoboardstring");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /creategstation /deletegstation");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createoocshop /deleteoocshop");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /gcam - To Create Speed Camera! [You have to login with rcon]");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createpickup");
                    }
                if(
alevel >= 99998)
                {
                    
SendClientMessage(playeridSCOLOR_MARKER,"Executive Administrator: /payday /oprison /lethimtalk");
                }
                if(
alevel >= 99999)
                {
                    
SendClientMessage(playeridCOLOR_DARKAQUA,"Community Scripter : /shawntermination /forcerelog /makeleader /savechars /makemoneybag");
                    
SendClientMessage(playeridCOLOR_DARKAQUA,"Community Scripter : /deletebag /deletebags /makehelper");
                }
                if(
alevel >= 100000)
                {
                    
SendClientMessage(playeridTCOLOR_DARKGREY,"Community Owner : /server /makeadmin /deleteaccount /setbankreload /makebanappealer /makegangmod /makespecops");
                    
SendClientMessage(playeridTCOLOR_DARKGREY,"Community Owner : /makemapper /makedev /maketester /makevip");
                }
                if(
PlayerInfo[playerid][pBanAppealer])
                {
                    
SendClientMessage(playeridCOLOR_WHITE"Ban Appealer: /unban /unbanip");
                }
                if(
PlayerInfo[playerid][pGangMod])
                {
                    
SendClientMessage(playeridCOLOR_WHITE"Gang Moderator: /fedit /fstrike /fsetstrike");
                }
                
SendClientMessage(playeridCOLOR_GREEN,"_______________________________________");
            }
            else
            {
               
SendClientMessage(playeridCOLOR_GREY,"   You are not authorized to use that command !");
            }
        }
        return 
1;
    } 
Help Me ill give you + rep
Reply
#2

So you want when a player types /ahelp it will say "press /ah [lvl] (admin level) for example /ah 1 - and it will show admin lvl 1 cmds ?
Reply
#3

You should look about a tutorial for CMD-Processors
Reply
#4

Just follow my steps like i did
And do them by yourself its pretty simple

Код:
if(strcmp(cmd, "/ah 1", true) == 0)
      {
      if(alevel >= 1) return SendClientMessage(playerid, "You are not admin level 1");
      {
      SendClientMessage(playerid, SCOLOR_CYAN, "Server Moderator : /listguns /check /spec /setint /setvw /mute /nmute (/a)dmin /warnings /ch /kcc /senddmv");
	  }
	  }
	if(strcmp(cmd,"/ah 2",true ) == 0)
	{
	if(alevel >= 2)
                {
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /skydive /bigears /freeze /unfreeze /slap /warn /cnn /rmute /goto /sendtols");
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /refund /tuteject /hoseject /fuelcars /setjob /forcetut");
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /freezeplayers /unfreezeplayers /setskin /muteplayers /unmuteplayers /admute");
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /listmuted /listmasked /kick /ban /aduty /adutyoff /checkprison /afgate /agate");
                }
	  }
                
	 // if player is level 3
	 // do same as i did on up cmds
	 
	 // after do lvl 3-4-5 etc
	 // at /ahelp just send client message that they have to write /ah [1-[lastadmin lvl] for their cmds
	if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            new alevel = PlayerInfo[playerid][pAdmin];
            if(alevel > 0)
            {
                SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
                if(alevel >= 1)
                {
                    SendClientMessage(playerid, COLOR_GREEN," Use Command /ah 1 for admin lvl commands");
                    return 1;
                }
                if(alevel >= 2)
                {
					SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 2 for admin lvl 2 commands");
                }
                if(alevel >= 3)
                {
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /noooc /fourdive /jail /prison /fine /startlotto /ramps /setcarhp /sorry /rhv");
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /getcar /rav /mark /goto /gethere /oldcar /pann /mole /had /ipcheck /countdown /disarm /nohospital /setaccent");
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /rhw /cp /mole /had /ipcheck /countdown /disarm /nohospital /setaccent /acolorcar /setgas /setcarint /setcarvw");
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /fws /atazer /amask");
                }
                if(alevel >= 4)
                {
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /setchamp /sethpall /setarmorall /fixvehall /givenos /blowup /setname /listcars /duel /getip /setage");
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /veh /vehmenu /fixveh /sethp /setarmor /givegun /givegunall /setgunskill /givemoney /setmoney /setstat /setfightstyle /setanim /givecookieall /givegoldbarall");
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /setplayercolor /setplayerwanted /load /adivorce /makeircadmin /destroycar");
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /destroycars /eventhelp /setcrime /givecookie /gotobluebus /gotoblackbus /fartbomb");
                }
                if(alevel >= 1337)
                {
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /weather /weatherall /tod /dedit /pointtime /adetain");
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /gotocar /pban /unban /banaccount /gotocar /wl /setcolor /banip /unbanip /deleteaccount /rangeban");
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /giftbox /editpoint /setgoldbars /givegoldbar /goincar /fire /re(sources)");
                 }
                if(alevel >= 1338)
                {
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /hqcreate /hqdelete /ganghqid /createfamgate /deletefamgate /editfamgate /famgateeditor /famegateid /fedit");
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /createfacgate /deletefacgate /facgateeditor /editfacgate /facgateid /editfaction /editfactionpay /createfcar /deletefcar");
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /creategate /deletegate /editgate /gateid /acceptrequest");
                }
                if(alevel >= 1339)
                {
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /bizint /createbiz /deletebiz /bizlevel /bizprice /biztype /bizprods /movebiz /clearbiz /setbizowner /gotobiz /lockbiz");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /houseint /chouseint /createhouse /deletehouse /houselevel /houseprice /movehouse /clearhouse /sethouseowner /gotohouse");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createfamily /deletefamily");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createbuilding /deletebuilding /buildingname /lockbuilding /movebuilding /buildingvw /makebuildingvip /sbm(setbuildingmusic) /gotobuilding");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createentrance /editentrance /entranceid /deleteentrance /gotoentrance ");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /creategarage /deletegarage /editgarage /gotogarage /garageid /gotogarage");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createmotel /deletemotel /movemotel /motelvw /lockmotel /makemotelvip /motelname /gotomotel");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createcar /deletecar /setcarinfo /createpcar /deletepcar /parkpcar");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createdrivethru /deletedrivethru /editdrivethru");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createHSS /deleteHSS /hssignid");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createmapicon /editmapicon /nearmapicon");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createMAPB /deleteMAPB");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createinfoboard /deleteinfoboard /setinfoboardstring");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /creategstation /deletegstation");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createoocshop /deleteoocshop");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /gcam - To Create Speed Camera! [You have to login with rcon]");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createpickup");

                    }
                if(alevel >= 99998)
                {
                    SendClientMessage(playerid, SCOLOR_MARKER,"Executive Administrator: /payday /oprison /lethimtalk");
                }
                if(alevel >= 99999)
                {
                    SendClientMessage(playerid, COLOR_DARKAQUA,"Community Scripter : /shawntermination /forcerelog /makeleader /savechars /makemoneybag");
                    SendClientMessage(playerid, COLOR_DARKAQUA,"Community Scripter : /deletebag /deletebags /makehelper");

                }
                if(alevel >= 100000)
                {
                    SendClientMessage(playerid, TCOLOR_DARKGREY,"Community Owner : /server /makeadmin /deleteaccount /setbankreload /makebanappealer /makegangmod /makespecops");
                    SendClientMessage(playerid, TCOLOR_DARKGREY,"Community Owner : /makemapper /makedev /maketester /makevip");
                }
                if(PlayerInfo[playerid][pBanAppealer])
                {
                    SendClientMessage(playerid, COLOR_WHITE, "Ban Appealer: /unban /unbanip");
                }
                if(PlayerInfo[playerid][pGangMod])
                {
                    SendClientMessage(playerid, COLOR_WHITE, "Gang Moderator: /fedit /fstrike /fsetstrike");
                }
                SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
            }
            else
            {
               SendClientMessage(playerid, COLOR_GREY,"   You are not authorized to use that command !");
            }
Reply
#5

Quote:

So you want when a player types /ahelp it will say "press /ah [lvl] (admin level) for example /ah 1 - and it will show admin lvl 1 cmds ?

Yes, and + rep for you thanks

Quote:

You should look about a tutorial for CMD-Processors

Can you give me the link pherhaps?
Reply
#6

This Is The Error I Get:

PHP код:
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(8571) : error 004: function "FixHour" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11287) : error 017undefined symbol "SenderName"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11288) : error 017undefined symbol "SendNearbyMessage"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11293) : error 017undefined symbol "StopAudioEx"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11320) : error 017undefined symbol "PlayAudioEx"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11345) : error 017undefined symbol "PlayAudioEx"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11481) : error 017undefined symbol "PlayAudioEx"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11506) : error 017undefined symbol "PlayAudioEx"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11531) : error 017undefined symbol "PlayAudioEx"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(11557) : error 017undefined symbol "PlayAudioEx"
C:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(13027) : error 004: function "ProxDetector" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(15452) : error 004: function "ProxDetector" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(15524) : error 004: function "ProxDetector" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(16830) : error 004: function "ProxDetector" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(16843) : error 004: function "ProxDetector" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18198) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18225) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18252) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18279) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18306) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18333) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18360) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18387) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18414) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(18441) : error 004: function "PurchaseItem" is not implemented
C
:\Users\xavie\Desktop\Classified Gaming Roleplay\gamemodes\EGRP.pwn(20527) : error 004: function "PurchaseItem" is not implemented
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

And here is my code you give:

PHP код:
if(strcmp(cmd"/ahelp"true) == || strcmp(cmd"/ah"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            new 
alevel PlayerInfo[playerid][pAdmin];
            if(
alevel 0)
            {
                
SendClientMessage(playeridCOLOR_GREEN,"_______________________________________");
                if(
alevel 1)
                {
                    
SendClientMessage(playeridCOLOR_GREEN," Use Command /ah 1 for admin commands");
                    return 
1;
                }
                if(
alevel 2)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-2 for admin commands");
                    return 
1;
                }
                if(
alevel >= 3)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-3 for admin commands");
                    return 
1;
                }
                if(
alevel >= 4)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-4 for admin commands");
                    return 
1;
                }
                if(
alevel >= 5)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-5 for admin commands");
                    return 
1;
                }
                if(
alevel >= 6)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-6 for admin commands");
                    return 
1;
                }
                if(
alevel >= 7)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-7 for admin commands");
                    return 
1;
                }
                if(
alevel >= 8)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-8 for admin commands");
                    return 
1;
                }
                if(
alevel >= 9)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-9 for admin commands");
                    return 
1;
                }
                if(
alevel >= 10)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Use Command /ah 1-10 for admin commands");
                    return 
1;
                }
                
    if(
strcmp(cmd"/ah 1"true) == 0)
    {
                if(
alevel >= 1) return SendClientMessage(playerid"You are not admin");
                {
                    
SendClientMessage(playeridSCOLOR_CYAN"Server Moderator : /listguns /check /spec /setint /setvw /mute /nmute (/a)dmin /warnings /ch /kcc /senddmv");
                }
                }
    if(
strcmp(cmd"/ah 2"true) == 0)
    {
                if(
alevel >= 2)
                {
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /skydive /bigears /freeze /unfreeze /slap /warn /cnn /rmute /goto /sendtols");
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /refund /tuteject /hoseject /fuelcars /setjob /forcetut");
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /freezeplayers /unfreezeplayers /setskin /muteplayers /unmuteplayers /admute");
                    
SendClientMessage(playeridCOLOR_YELLOW,"Junior Administrator: /listmuted /listmasked /kick /ban /aduty /adutyoff /checkprison /afgate /agate");
                }
                }
     if(
strcmp(cmd"/ah 3"true) == 0)
     {
                if(
alevel >= 3)
                {
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /noooc /fourdive /jail /prison /fine /startlotto /ramps /setcarhp /sorry /rhv");
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /getcar /rav /mark /goto /gethere /oldcar /pann /mole /had /ipcheck /countdown /disarm /nohospital /setaccent");
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /rhw /cp /mole /had /ipcheck /countdown /disarm /nohospital /setaccent /acolorcar /setgas /setcarint /setcarvw");
                    
SendClientMessage(playeridCOLOR_ORANGE,"General Administrator: /fws /atazer /amask");
                }
                }
    if(
strcmp(cmd"/ah 4"true) == 0)
    {
                if(
alevel >= 4)
                {
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /setchamp /sethpall /setarmorall /fixvehall /givenos /blowup /setname /listcars /duel /getip /setage");
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /veh /vehmenu /fixveh /sethp /setarmor /givegun /givegunall /setgunskill /givemoney /setmoney /setstat /setfightstyle /setanim /givecookieall /givegoldbarall");
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /setplayercolor /setplayerwanted /load /adivorce /makeircadmin /destroycar");
                    
SendClientMessage(playeridCOLOR_DOC,"Senior Administrator: /destroycars /eventhelp /setcrime /givecookie /gotobluebus /gotoblackbus /fartbomb");
                }
    if(
strcmp(cmd"/ah 5"true) == 0)
    {
                if(
alevel >= 5)
                {
                    
SendClientMessage(playeridCOLOR_GREEN,"Head Administrator: /weather /weatherall /tod /dedit /pointtime /adetain");
                    
SendClientMessage(playeridCOLOR_GREEN,"Head Administrator: /gotocar /pban /unban /banaccount /gotocar /wl /setcolor /banip /unbanip /deleteaccount /rangeban");
                    
SendClientMessage(playeridCOLOR_GREEN,"Head Administrator: /giftbox /editpoint /setgoldbars /givegoldbar /goincar /fire /re(sources)");
                 }
                 }
    if(
strcmp(cmd"/ah 6"true) == 0)
    {
                if(
alevel >= 6)
                {
                    
SendClientMessage(playeridCOLOR_BLUE,"Community Manager: /hqcreate /hqdelete /ganghqid /createfamgate /deletefamgate /editfamgate /famgateeditor /famegateid /fedit");
                    
SendClientMessage(playeridCOLOR_BLUE,"Community Manager: /createfacgate /deletefacgate /facgateeditor /editfacgate /facgateid /editfaction /editfactionpay /createfcar /deletefcar");
                    
SendClientMessage(playeridCOLOR_BLUE,"Community Manager: /creategate /deletegate /editgate /gateid /acceptrequest");
                }
                }
    if(
strcmp(cmd"/ah 7"true) == 0)
    {
                if(
alevel >= 7)
                {
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /bizint /createbiz /deletebiz /bizlevel /bizprice /biztype /bizprods /movebiz /clearbiz /setbizowner /gotobiz /lockbiz");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /houseint /chouseint /createhouse /deletehouse /houselevel /houseprice /movehouse /clearhouse /sethouseowner /gotohouse");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createfamily /deletefamily");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createbuilding /deletebuilding /buildingname /lockbuilding /movebuilding /buildingvw /makebuildingvip /sbm(setbuildingmusic) /gotobuilding");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createentrance /editentrance /entranceid /deleteentrance /gotoentrance ");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /creategarage /deletegarage /editgarage /gotogarage /garageid /gotogarage");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createmotel /deletemotel /movemotel /motelvw /lockmotel /makemotelvip /motelname /gotomotel");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createcar /deletecar /setcarinfo /createpcar /deletepcar /parkpcar");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createdrivethru /deletedrivethru /editdrivethru");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createHSS /deleteHSS /hssignid");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createmapicon /editmapicon /nearmapicon");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createMAPB /deleteMAPB");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createinfoboard /deleteinfoboard /setinfoboardstring");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /creategstation /deletegstation");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createoocshop /deleteoocshop");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /gcam - To Create Speed Camera! [You have to login with rcon]");
                    
SendClientMessage(playeridCOLOR_RED,"Co-Executive Admin: /createpickup");
                    }
                    }
    if(
strcmp(cmd"/ah 8"true) == 0)
    {
                if(
alevel >= 8)
                {
                    
SendClientMessage(playeridSCOLOR_MARKER,"Executive Administrator: /payday /oprison /lethimtalk");
                }
                }
    if(
strcmp(cmd"/ah 9"true) == 0)
    {
                if(
alevel >= 9)
                {
                    
SendClientMessage(playeridCOLOR_DARKAQUA,"Community Scripter : /shawntermination /forcerelog /makeleader /savechars /makemoneybag");
                    
SendClientMessage(playeridCOLOR_DARKAQUA,"Community Scripter : /deletebag /deletebags /makehelper");
                }
    if(
strcmp(cmd"/ah 10"true) == 0)
    {
                if(
alevel >= 10)
                {
                    
SendClientMessage(playeridTCOLOR_DARKGREY,"Community Owner : /server /makeadmin /deleteaccount /setbankreload /makebanappealer /makegangmod /makespecops");
                    
SendClientMessage(playeridTCOLOR_DARKGREY,"Community Owner : /makemapper /makedev /maketester /makevip");
                }
                }
                if(
PlayerInfo[playerid][pBanAppealer])
                {
                    
SendClientMessage(playeridCOLOR_WHITE"Ban Appealer: /unban /unbanip");
                }
                if(
PlayerInfo[playerid][pGangMod])
                {
                    
SendClientMessage(playeridCOLOR_WHITE"Gang Moderator: /fedit /fstrike /fsetstrike");
                }
            
SendClientMessage(playerid,COLOR_GREEN,"_______________________________________");
            }
            else
            {
               
SendClientMessage(playeridCOLOR_GREY,"   You are not authorized to use that command !");
            }
        }
        return 
1;
    } 
But when i remove the code you gave me the script compiles
Reply
#7

You have forgotten 2 barckets left open and not closed
might be 1 or 2 not sure but run it on BracketFix Beta and it should tell you if is script error or brackets.
try the codes below and if happens again do what i said *

Код:
if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0) 
    { 
        if(IsPlayerConnected(playerid)) 
        { 
            new alevel = PlayerInfo[playerid][pAdmin]; 
            if(alevel > 0) 
            { 
                SendClientMessage(playerid, COLOR_GREEN,"_______________________________________"); 
                if(alevel > 1) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN," Use Command /ah 1 for admin commands"); 
                    return 1; 
                } 
                if(alevel > 2) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-2 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 3) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-3 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 4) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-4 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 5) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-5 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 6) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-6 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 7) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-7 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 8) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-8 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 9) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-9 for admin commands"); 
                    return 1; 
                } 
                if(alevel >= 10) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 1-10 for admin commands"); 
                    return 1; 
                } 
                 
    if(strcmp(cmd, "/ah 1", true) == 0) 
    { 
                if(alevel >= 1) return SendClientMessage(playerid, "You are not admin"); 
                { 
                    SendClientMessage(playerid, SCOLOR_CYAN, "Server Moderator : /listguns /check /spec /setint /setvw /mute /nmute (/a)dmin /warnings /ch /kcc /senddmv"); 
                } 
                } 
    if(strcmp(cmd, "/ah 2", true) == 0) 
    { 
                if(alevel >= 2) 
                { 
                    SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /skydive /bigears /freeze /unfreeze /slap /warn /cnn /rmute /goto /sendtols"); 
                    SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /refund /tuteject /hoseject /fuelcars /setjob /forcetut"); 
                    SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /freezeplayers /unfreezeplayers /setskin /muteplayers /unmuteplayers /admute"); 
                    SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /listmuted /listmasked /kick /ban /aduty /adutyoff /checkprison /afgate /agate"); 
                } 
                } 
     if(strcmp(cmd, "/ah 3", true) == 0) 
     { 
                if(alevel >= 3) 
                { 
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /noooc /fourdive /jail /prison /fine /startlotto /ramps /setcarhp /sorry /rhv"); 
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /getcar /rav /mark /goto /gethere /oldcar /pann /mole /had /ipcheck /countdown /disarm /nohospital /setaccent"); 
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /rhw /cp /mole /had /ipcheck /countdown /disarm /nohospital /setaccent /acolorcar /setgas /setcarint /setcarvw"); 
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /fws /atazer /amask"); 
                } 
                } 
    if(strcmp(cmd, "/ah 4", true) == 0) 
    { 
                if(alevel >= 4) 
                { 
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /setchamp /sethpall /setarmorall /fixvehall /givenos /blowup /setname /listcars /duel /getip /setage"); 
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /veh /vehmenu /fixveh /sethp /setarmor /givegun /givegunall /setgunskill /givemoney /setmoney /setstat /setfightstyle /setanim /givecookieall /givegoldbarall"); 
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /setplayercolor /setplayerwanted /load /adivorce /makeircadmin /destroycar"); 
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /destroycars /eventhelp /setcrime /givecookie /gotobluebus /gotoblackbus /fartbomb"); 
}
                } 
    if(strcmp(cmd, "/ah 5", true) == 0) 
    { 
                if(alevel >= 5) 
                { 
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /weather /weatherall /tod /dedit /pointtime /adetain"); 
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /gotocar /pban /unban /banaccount /gotocar /wl /setcolor /banip /unbanip /deleteaccount /rangeban"); 
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /giftbox /editpoint /setgoldbars /givegoldbar /goincar /fire /re(sources)"); 
                 } 
                 } 
    if(strcmp(cmd, "/ah 6", true) == 0) 
    { 
                if(alevel >= 6) 
                { 
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /hqcreate /hqdelete /ganghqid /createfamgate /deletefamgate /editfamgate /famgateeditor /famegateid /fedit"); 
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /createfacgate /deletefacgate /facgateeditor /editfacgate /facgateid /editfaction /editfactionpay /createfcar /deletefcar"); 
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /creategate /deletegate /editgate /gateid /acceptrequest"); 
                } 
                } 
    if(strcmp(cmd, "/ah 7", true) == 0) 
    { 
                if(alevel >= 7) 
                { 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /bizint /createbiz /deletebiz /bizlevel /bizprice /biztype /bizprods /movebiz /clearbiz /setbizowner /gotobiz /lockbiz"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /houseint /chouseint /createhouse /deletehouse /houselevel /houseprice /movehouse /clearhouse /sethouseowner /gotohouse"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createfamily /deletefamily"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createbuilding /deletebuilding /buildingname /lockbuilding /movebuilding /buildingvw /makebuildingvip /sbm(setbuildingmusic) /gotobuilding"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createentrance /editentrance /entranceid /deleteentrance /gotoentrance "); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /creategarage /deletegarage /editgarage /gotogarage /garageid /gotogarage"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createmotel /deletemotel /movemotel /motelvw /lockmotel /makemotelvip /motelname /gotomotel"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createcar /deletecar /setcarinfo /createpcar /deletepcar /parkpcar"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createdrivethru /deletedrivethru /editdrivethru"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createHSS /deleteHSS /hssignid"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createmapicon /editmapicon /nearmapicon"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createMAPB /deleteMAPB"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createinfoboard /deleteinfoboard /setinfoboardstring"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /creategstation /deletegstation"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createoocshop /deleteoocshop"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /gcam - To Create Speed Camera! [You have to login with rcon]"); 
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createpickup"); 

                    } 
                    } 
    if(strcmp(cmd, "/ah 8", true) == 0) 
    { 
                if(alevel >= 8) 
                { 
                    SendClientMessage(playerid, SCOLOR_MARKER,"Executive Administrator: /payday /oprison /lethimtalk"); 
                } 
                } 
    if(strcmp(cmd, "/ah 9", true) == 0) 
    { 
                if(alevel >= 9) 
                { 
                    SendClientMessage(playerid, COLOR_DARKAQUA,"Community Scripter : /shawntermination /forcerelog /makeleader /savechars /makemoneybag"); 
                    SendClientMessage(playerid, COLOR_DARKAQUA,"Community Scripter : /deletebag /deletebags /makehelper"); 
}
                } 
    if(strcmp(cmd, "/ah 10", true) == 0) 
    { 
                if(alevel >= 10) 
                { 
                    SendClientMessage(playerid, TCOLOR_DARKGREY,"Community Owner : /server /makeadmin /deleteaccount /setbankreload /makebanappealer /makegangmod /makespecops"); 
                    SendClientMessage(playerid, TCOLOR_DARKGREY,"Community Owner : /makemapper /makedev /maketester /makevip"); 
                } 
                } 
                if(PlayerInfo[playerid][pBanAppealer]) 
                { 
                    SendClientMessage(playerid, COLOR_WHITE, "Ban Appealer: /unban /unbanip"); 
                } 
                if(PlayerInfo[playerid][pGangMod]) 
                { 
                    SendClientMessage(playerid, COLOR_WHITE, "Gang Moderator: /fedit /fstrike /fsetstrike"); 
                } 
            SendClientMessage(playerid,COLOR_GREEN,"_______________________________________"); 
            } 
            else 
            { 
               SendClientMessage(playerid, COLOR_GREY,"   You are not authorized to use that command !"); 
            } 
        } 
        return 1; 
    }
Edit: i tested the brackets and it wasnt closed by 2
those codes should work properly for now on try them and let me know
Reply
#8

I think people need to stop copying and pasting shit and expecting people to learn from a page and a half of pasted text...
Reply
#9

It compiles but nothing is working properly, when i do /ah it says "Use Command /ah 1 for admin commands" but i am admin lvl 10000 and when i do /ah 1 nothing happens
Reply
#10

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
Just follow my steps like i did
And do them by yourself its pretty simple

Код:
if(strcmp(cmd, "/ah 1", true) == 0)
      {
      if(alevel >= 1) return SendClientMessage(playerid, "You are not admin level 1");
      {
      SendClientMessage(playerid, SCOLOR_CYAN, "Server Moderator : /listguns /check /spec /setint /setvw /mute /nmute (/a)dmin /warnings /ch /kcc /senddmv");
	  }
	  }
	if(strcmp(cmd,"/ah 2",true ) == 0)
	{
	if(alevel >= 2)
                {
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /skydive /bigears /freeze /unfreeze /slap /warn /cnn /rmute /goto /sendtols");
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /refund /tuteject /hoseject /fuelcars /setjob /forcetut");
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /freezeplayers /unfreezeplayers /setskin /muteplayers /unmuteplayers /admute");
      SendClientMessage(playerid, COLOR_YELLOW,"Junior Administrator: /listmuted /listmasked /kick /ban /aduty /adutyoff /checkprison /afgate /agate");
                }
	  }
                
	 // if player is level 3
	 // do same as i did on up cmds
	 
	 // after do lvl 3-4-5 etc
	 // at /ahelp just send client message that they have to write /ah [1-[lastadmin lvl] for their cmds
	if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            new alevel = PlayerInfo[playerid][pAdmin];
            if(alevel > 0)
            {
                SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
                if(alevel >= 1)
                {
                    SendClientMessage(playerid, COLOR_GREEN," Use Command /ah 1 for admin lvl commands");
                    return 1;
                }
                if(alevel >= 2)
                {
					SendClientMessage(playerid, COLOR_GREEN,"Use Command /ah 2 for admin lvl 2 commands");
                }
                if(alevel >= 3)
                {
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /noooc /fourdive /jail /prison /fine /startlotto /ramps /setcarhp /sorry /rhv");
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /getcar /rav /mark /goto /gethere /oldcar /pann /mole /had /ipcheck /countdown /disarm /nohospital /setaccent");
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /rhw /cp /mole /had /ipcheck /countdown /disarm /nohospital /setaccent /acolorcar /setgas /setcarint /setcarvw");
                    SendClientMessage(playerid, COLOR_ORANGE,"General Administrator: /fws /atazer /amask");
                }
                if(alevel >= 4)
                {
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /setchamp /sethpall /setarmorall /fixvehall /givenos /blowup /setname /listcars /duel /getip /setage");
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /veh /vehmenu /fixveh /sethp /setarmor /givegun /givegunall /setgunskill /givemoney /setmoney /setstat /setfightstyle /setanim /givecookieall /givegoldbarall");
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /setplayercolor /setplayerwanted /load /adivorce /makeircadmin /destroycar");
                    SendClientMessage(playerid, COLOR_DOC,"Senior Administrator: /destroycars /eventhelp /setcrime /givecookie /gotobluebus /gotoblackbus /fartbomb");
                }
                if(alevel >= 1337)
                {
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /weather /weatherall /tod /dedit /pointtime /adetain");
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /gotocar /pban /unban /banaccount /gotocar /wl /setcolor /banip /unbanip /deleteaccount /rangeban");
                    SendClientMessage(playerid, COLOR_GREEN,"Head Administrator: /giftbox /editpoint /setgoldbars /givegoldbar /goincar /fire /re(sources)");
                 }
                if(alevel >= 1338)
                {
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /hqcreate /hqdelete /ganghqid /createfamgate /deletefamgate /editfamgate /famgateeditor /famegateid /fedit");
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /createfacgate /deletefacgate /facgateeditor /editfacgate /facgateid /editfaction /editfactionpay /createfcar /deletefcar");
                    SendClientMessage(playerid, COLOR_BLUE,"Community Manager: /creategate /deletegate /editgate /gateid /acceptrequest");
                }
                if(alevel >= 1339)
                {
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /bizint /createbiz /deletebiz /bizlevel /bizprice /biztype /bizprods /movebiz /clearbiz /setbizowner /gotobiz /lockbiz");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /houseint /chouseint /createhouse /deletehouse /houselevel /houseprice /movehouse /clearhouse /sethouseowner /gotohouse");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createfamily /deletefamily");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createbuilding /deletebuilding /buildingname /lockbuilding /movebuilding /buildingvw /makebuildingvip /sbm(setbuildingmusic) /gotobuilding");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createentrance /editentrance /entranceid /deleteentrance /gotoentrance ");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /creategarage /deletegarage /editgarage /gotogarage /garageid /gotogarage");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createmotel /deletemotel /movemotel /motelvw /lockmotel /makemotelvip /motelname /gotomotel");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createcar /deletecar /setcarinfo /createpcar /deletepcar /parkpcar");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createdrivethru /deletedrivethru /editdrivethru");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createHSS /deleteHSS /hssignid");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createmapicon /editmapicon /nearmapicon");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createMAPB /deleteMAPB");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createinfoboard /deleteinfoboard /setinfoboardstring");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /creategstation /deletegstation");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createoocshop /deleteoocshop");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /gcam - To Create Speed Camera! [You have to login with rcon]");
                    SendClientMessage(playerid, COLOR_RED,"Co-Executive Admin: /createpickup");

                    }
                if(alevel >= 99998)
                {
                    SendClientMessage(playerid, SCOLOR_MARKER,"Executive Administrator: /payday /oprison /lethimtalk");
                }
                if(alevel >= 99999)
                {
                    SendClientMessage(playerid, COLOR_DARKAQUA,"Community Scripter : /shawntermination /forcerelog /makeleader /savechars /makemoneybag");
                    SendClientMessage(playerid, COLOR_DARKAQUA,"Community Scripter : /deletebag /deletebags /makehelper");

                }
                if(alevel >= 100000)
                {
                    SendClientMessage(playerid, TCOLOR_DARKGREY,"Community Owner : /server /makeadmin /deleteaccount /setbankreload /makebanappealer /makegangmod /makespecops");
                    SendClientMessage(playerid, TCOLOR_DARKGREY,"Community Owner : /makemapper /makedev /maketester /makevip");
                }
                if(PlayerInfo[playerid][pBanAppealer])
                {
                    SendClientMessage(playerid, COLOR_WHITE, "Ban Appealer: /unban /unbanip");
                }
                if(PlayerInfo[playerid][pGangMod])
                {
                    SendClientMessage(playerid, COLOR_WHITE, "Gang Moderator: /fedit /fstrike /fsetstrike");
                }
                SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
            }
            else
            {
               SendClientMessage(playerid, COLOR_GREY,"   You are not authorized to use that command !");
            }
Follow Him, Xavier i think it might Help @Immortal99
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)