pawn Code:
CMD:ah(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessageEx(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessageEx(playerid, COLOR_GRAD1, "*** SERVER MODERATOR *** /mjail /kick /c /togadvisor /togjoin");
}
if (PlayerInfo[playerid][pAdmin] >= 2)
{
SendClientMessageEx(playerid, COLOR_WHITE,"*** JUNIOR ADMIN *** /kick /ban /jail /bigears /freeze /unfreeze /spec /aslap /warn /cnn ");
SendClientMessageEx(playerid, COLOR_WHITE,"*** JUNIOR ADMIN *** /gethere /goto /hospital /gotoloc /requestevent /clearchat /cc /watch");
SendClientMessageEx(playerid, COLOR_WHITE,"*** JUNIOR ADMIN *** /adminduty /gotoplayerscar /jetpack /god /check /ipcheck /ip /hlmute");
SendClientMessageEx(playerid, COLOR_WHITE,"*** JUNIOR ADMIN *** /nrn /listguns /setvw /setint /vehname /watch");
}
if (PlayerInfo[playerid][pAdmin] >= 3)
{
SendClientMessageEx(playerid, COLOR_NG,"*** GENERAL ADMIN *** /noooc /nonewbie /prison /fine /pfine /takeadminweapons /sendtols /prisonaccount /gotocar /entercar");
SendClientMessageEx(playerid, COLOR_NG,"*** GENERAL ADMIN *** /mole /setskin /countdown /release /force(death/hospital) /rto(reset) /jailaccount /(o)clearflag /mark ");
SendClientMessageEx(playerid, COLOR_NG,"*** GENERAL ADMIN *** /gotoco /n(un)mute /ad(un)mute /leaders /dm /wepreset /ocheck /owarn /ofine /okills");
SendClientMessageEx(playerid, COLOR_NG,"*** GENERAL ADMIN *** /gr /cr /oocpower /revive /sendtoid /refund /getcar /reloadpvehicles");
}
if (PlayerInfo[playerid][pAdmin] >= 4)
{
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /edit /asellhouse /setchamp /setarmorall /fixvehall /givenos /blowup /setname /startlotto /savechars");
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /setstat /veh /fixveh /sethp /setarmor /givegun /givemoney /setmoney /setstat /setfightstyle");
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /fcreate /fdelete /adivorce /destroycar /destroycars /eventhelp /contracts /sprison /sjail /listfacpay");
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /facban /faccsfban /unban /unbanip /deletehit /clearall /setinsurance /givelicense /adestroyplant");
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /switchfac /switchfam /facpay /cmotd /setcapping /banaccount /hedit /dd(edit/next/name/pass");
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /createpvehicle /destroypvehicle /creategvehicle /vipparty /vto /vtoreset /forceskin /admingatepw /gotogate");
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /hnext /dmpnext /g(status/near/next/edit) /(goto/goin)door /(goto/goin)house /(create/delete/goto)point");
SendClientMessageEx(playerid, COLOR_WHITE,"*** SENIOR ADMIN *** /hedit /dd(edit/next/name/pass) /dmpedit /dmpnear /gotomapicon /gangwarn /gangunban /setcapping");
}
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
SendClientMessageEx(playerid, COLOR_LIGHTRED,"*** Elite Admin *** /weather /weatherall /makehelper /tod /dedit /pedit /facunban /faccsfunban /giftall");
SendClientMessageEx(playerid, COLOR_LIGHTRED,"*** Elite Admin *** /permaban /setcolor /payday /clearallreports /eventreset /givetoken /banip /banaccount /gifts");
SendClientMessageEx(playerid, COLOR_LIGHTRED,"*** Elite Admin *** /createdealership /destroydealership /createcdveh /destroycdveh /famedit /setvip /vmute /vsuspend");
}
if (PlayerInfo[playerid][pAdmin] >= 1338)
{
SendClientMessageEx(playerid, COLOR_LIGHTRED,"*** LEAD ADMIN *** /suspend /osuspend /rmute /makeadmin /makeleader /makehelper /makemoderator");
SendClientMessageEx(playerid, COLOR_LIGHTRED,"*** LEAD ADMIN *** /random /vrandom /giftreset /vipgifts");
}
if (PlayerInfo[playerid][pAdmin] >= 1339)
{
SendClientMessageEx(playerid, COLOR_GREEN,"*** Developer *** ");
}
if (PlayerInfo[playerid][pAdmin] >= 99995)
{
SendClientMessageEx(playerid, COLOR_LIME,"*** Server Manager *** ");
}
if (PlayerInfo[playerid][pAdmin] >= 999998)
{
SendClientMessageEx(playerid, COLOR_LIME,"*** Co - Executive Admin*** ");
}
if (PlayerInfo[playerid][pAdmin] >= 999999)
{
SendClientMessageEx(playerid, COLOR_LIME,"*** Executive Admin*** [Administration Commands: /togreports]*** Executive Admin*** ");
}
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), "*** SPECIAL ***");
if (PlayerInfo[playerid][pBanAppealer] == 1) format(string2, sizeof(string2), "%s /unbanip /unban", string2);
if (PlayerInfo[playerid][pShopTech] == 1) format(string2, sizeof(string2), "%s /orders /shopblock /setvip /shopcar /shopcardel /shophouse /shoptokens /shoplaser /shopvest /gedit /gnear /gstatus /gnext /hnext /gotogate", string2);
if (PlayerInfo[playerid][pUndercover] == 1) format(string2, sizeof(string2), "%s /setmystat /setmyname /setmyhp /setmyarmour /sprison /sjail /sdm /swarn", string2);
if (PlayerInfo[playerid][pFactionModerator] == 1) format(string2, sizeof(string2), "%s /listfacpay /facpay /switchfac /faccsfban /facban /fackick /leaders", string2);
if (PlayerInfo[playerid][pGangModerator] == 1) format(string2, sizeof(string2), "%s /switchfam /famedit /creategvehicle /destroygvehicle /gangwarn /gangunban /fcreate /fdelete /twmenu", string2);
if(strlen(string2) >= 128)
{
new firstline[128], secondline[128];
strmid(firstline, string2, 0, 128);
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;
}