01.02.2014, 04:40
I was editing my command (/ah (Admin Help) when I noticed it wasn't showing all of the admin commands. Here is the command and here is a screenshot of my result.
Quote:
CMD:ah(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessageEx(playerid, COLOR_GREEN,"_____________________________________ __"); SendClientMessageEx(playerid, COLOR_YELLOW, "*** SERVER MODERATOR *** /mjail /kick /c /togadvisor /togjoin"); } if (PlayerInfo[playerid][pAdmin] >= 2) { SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {FFFF00}Junior Admin {FFFFFF}*** {FFFF00}/post /nao /aduty /kick /ban /jail /bigears /freeze /unfreeze /slap /warn /cnn /gethere /gotoid /hospital"); SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {FFFF00}Junior Admin {FFFFFF}*** {FFFF00}/gotoplayerscar /jetpack /god /check /ipcheck /ip /hlmute /nrn /listguns /setvw /setint /vehname"); SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {FFFF00}Junior Admin {FFFFFF}*** {FFFF00}/ogethere /ogoto /goto /flagpl /requestevent /watch"); } if (PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessageEx(playerid, COLOR_GREEN,"{FFFFFF}*** {00CC00}General Admin {FFFFFF}*** {00CC00}/noooc /nonewbie /prison /fine /pfine /takeadminweapons /sendtols /prisonaccount /gotocar /entercar /getcar"); SendClientMessageEx(playerid, COLOR_GREEN,"{FFFFFF}*** {00CC00}General Admin {FFFFFF}*** {00CC00}/mole /setskin /countdown /release /force(death/hospital) /rto(reset) /jailaccount /(o)clearflag"); SendClientMessageEx(playerid, COLOR_GREEN,"{FFFFFF}*** {00CC00}General Admin {FFFFFF}*** {00CC00}/gotoco /n(un)mute /ad(un)mute /leaders /dm /wepreset /ocheck /owarn /ofine /okills /respawncar(s) /aheal"); SendClientMessageEx(playerid, COLOR_GREEN,"{FFFFFF}*** {00CC00}General Admin {FFFFFF}*** {00CC00}/mark /reloadpvehicles /sendtoid /cban /forum /ts /refund /respawnfcars"); } if (PlayerInfo[playerid][pAdmin] >= 4) { SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/edit /asellhouse /asellbiz /setchamp /setarmorall /fixvehall /givenos /blowup /setname /startlotto /savechars"); SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/veh /fixveh /sethp /setarmor /givegun /givemoney /setmoney /setstat /setfightstyle /switchfac /switchfam /facpay"); SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/fcreate /fdelete /adivorce /destroycar /destroycars /eventhelp /contracts /sprison /sjail /listfacpay"); SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/facban /faccsfban /unban /unbanip /deletehit /clearall /setinsurance /cmotd /givelicense /adestroyplant"); SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/createpvehicle /destroypvehicle /creategvehicle /vipparty /vto /vtoreset /forceskin /admingatepw /gotogate"); SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/hnext /dmpnext /g(status/near/next/edit) /(goto/goin)door /(goto/goin)house /(create/delete/goto)point"); SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/hedit /dd(edit/next/name/pass) /dmpedit /dmpnear /gotomapicon /gangwarn /gangunban /setcapping /banaccount"); SendClientMessageEx(playerid, COLOR_ORANGE,"{FFFFFF}*** {FF6600}Senior Admin {FFFFFF}*** {FF6600}/goldrims"); } if (PlayerInfo[playerid][pAdmin] >= 1337) { SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {3366FF}Head Admin {FFFFFF}*** {3366FF}/weather /weatherall /makeleader /tod /dedit /pedit /facunban /faccsfunban /giftall /(un)banip"); SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {3366FF}Head Admin {FFFFFF}*** {3366FF}/permaban /setcolor /payday /clearallreports /eventreset /amotd /vipmotd /givetoken /restart"); SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {3366FF}Head Admin {FFFFFF}*** {3366FF}/createdealership /destroydealership /createcdveh /destroycdveh /fedit /vmute /vsuspend /gifts"); } if (PlayerInfo[playerid][pAdmin] >= 133 { SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {FFFF00}Executive Admin {FFFFFF}*** {FFFF00}/suspend /osuspend /rmute /specreset /pausespec /random /vrandom /giftreset /vipgifts /buddyinvite"); SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {FFFF00}Executive Admin {FFFFFF}*** {FFFF00}/unsuspend"); } if (PlayerInfo[playerid][pAdmin] >= 9999 { SendClientMessageEx(playerid, COLOR_YELLOW,"{FFFFFF}*** {FFFF00}Server Manager {FFFFFF}*** {FFFF00}/motd /amotd /vipmotd"); } if (PlayerInfo[playerid][pAdmin] >= 99999) { SendClientMessageEx(playerid, COLOR_REALRED,"{FFFFFF}*** {FF0000}Community Owner {FFFFFF}*** {FF0000}/smod /gmx /makeundercover /makefacmod"); SendClientMessageEx(playerid, COLOR_REALRED,"{FFFFFF}*** {FF0000}Community Owner {FFFFFF}*** {FF0000}/makeshoptech /makebanappealer /makegangmod"); } if (PlayerInfo[playerid][pBanAppealer] == 1 || PlayerInfo[playerid][pShopTech] == 1 || PlayerInfo[playerid][pUndercover] == 1 || PlayerInfo[playerid][pFactionModerator] == 1 || PlayerInfo[playerid][pBanAppealer] == 1 || PlayerInfo[playerid][pShopTech] == 1 || PlayerInfo[playerid][pUndercover] == 1 || PlayerInfo[playerid][pGangModerator] == 1) { new string2[256]; format(string2, sizeof(string2), "{FFFFFF}*** {FF0099}SPECIAL {FFFFFF}***"); if (PlayerInfo[playerid][pBanAppealer] == 1) format(string2, sizeof(string2), "{FF0099}%s /unbanip /unban", string2); if (PlayerInfo[playerid][pShopTech] == 1) format(string2, sizeof(string2), "{FF0099}%s /orders /shopblock /makevip /shopcar /shopcardel /shophouse /shoptokens /shoplaser /shopvest /gedit /gnear /gstatus /gnext /hnext /gotogate", string2); if (PlayerInfo[playerid][pUndercover] == 1) format(string2, sizeof(string2), "{FF0099}%s /setmystat /setmyname /setmyhp /setmyarmour /sprison /sjail /sdm /swarn /sban", string2); if (PlayerInfo[playerid][pFactionModerator] == 1) format(string2, sizeof(string2), "{FF0099}%s /listfacpay /facpay /switchfac /faccsfban /facban /fackick /leaders", string2); if (PlayerInfo[playerid][pGangModerator] == 1) format(string2, sizeof(string2), "{FF0099}%s /switchfam /fedit /creategvehicle /destroygvehicle /gangwarn /gangunban /fcreate /fdelete /twmenu", string2); if(strlen(string2) >= 12 { new firstline[128], secondline[128]; strmid(firstline, string2, 0, 12; strmid(secondline, string2, 128, 256); SendClientMessageEx(playerid, COLOR_GRAD5, firstline); SendClientMessageEx(playerid, COLOR_GRAD5, secondline); } else { SendClientMessageEx(playerid, COLOR_GRAD5,string2); } } if (PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessageEx(playerid, COLOR_GREEN,"_____________________________________ __"); } return 1; } |