Problem mit Adminhelp

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • 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_WHITE, "Supporter : /listguns /(c)ock(s)can(a)ll /check /spec /setint /mute /nmute (/a)dmin /warnings /ch");
    }
    if(alevel >= 2)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Moderator: /skydive /bigears /freeze /unfreeze /slap /warn /cnn /rmute /goto /sendtols /refund /tuteject /hoseject /fuelcars /setjob /forcetut");
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Moderator: /freezeplayers /unfreezeplayers /setskin /muteplayers /unmuteplayers /admute /listmuted /listmasked /kick /ban /aduty /adutyoff /checkprison");
    }
    if(alevel >= 3)
    {
    SendClientMessage(playerid, COLOR_RED,"Super Moderator: /noooc /fourdive /jail /prison /fine /startlotto /ramps /setcarhp /kheject /rhv");
    SendClientMessage(playerid, COLOR_RED,"Super Moderator: /getcar /rav /mark /goto /gethere /oldcar /pann /mole /had /ipcheck /countdown /disarm /nohospital /setaccent");
    }
    if(alevel >= 4)
    {
    SendClientMessage(playerid, COLOR_DBLUE,"Administrator: /setchamp /sethpall /setarmorall /fixvehall /givenos /blowup /umbenennen /listcars /duel /getip /gotoblusbus /gotoblackbus /setage");
    SendClientMessage(playerid, COLOR_DBLUE,"Administrator: /veh /vehmenu /fixveh /sethp /setarmor /givegun /givegunall /setgunskill /givemoney /setmoney /setstat /setfightstyle /setanim /givecookieall /givegoldbarall");
    SendClientMessage(playerid, COLOR_DBLUE,"Administrator: /CreateFamily /Deletefamily /setplayercolor /Setplayerwanted /load /adivorce /makeircadmin /destroycar /destroycars /eventhelp /setcrime /givecookie");
    }
    if(alevel >= 1337)
    SendClientMessage(playerid, COLOR_YELLOW,"Super Administrator: /weather /weatherall /makeleader /tod /savechars /fedit /dedit /pointtime /agiverank /lockbiz /adetain");
    SendClientMessage(playerid, COLOR_YELLOW,"Super Administrator: /gotocar /pban /unban /banaccount /wl /setcolor /banip /unbanip /deleteaccount /rangeban /makeHelper");
    SendClientMessage(playerid, COLOR_YELLOW,"Super Administrator: /Geldtasche /deletebag /deletebags /giftbox /editpoint /resources /setgoldbars /givegoldbar /goincar /fire");
    SendClientMessage(playerid, COLOR_YELLOW,"Super Administrator: /houseint /bizint /chouseint /garageint");
    }
    if(alevel >= 1339)
    {
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /bizint /createbiz /deletebiz /bizlevel /bizprice /biztype /bizprods /movebiz /clearbiz /setbizowner");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /houseint /createhouse /deletehouse /houselevel /houseprice /movehouse /clearhouse /sethouseowner");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createbuilding /deletebuilding /buildingname /lockbuilding /movebuilding /buildingvw /makebuildingvip /sbm(setbuildingmusic)");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createentrance /editentrance /entranceid /deleteentrance /gotoentrance");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /creategarage /deletegarage /editgarage /gotogarage /garageid");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createmotel /deletemotel /movemotel /motelvw /lockmotel /makemotelvip /motelname");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createcar /deletecar /setcarinfo /createpcar /deletepcar /parkpcar");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createdrivethru /deletedrivethru /editdrivethru || /createHSS /deleteHSS /hssignid");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createfcar /deletefcar || /createmapicon /editmapicon /nearmapicon || /editfaction /editfactionpay");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createMAPB /deleteMAPB || /creategate /deletegate /editgate /gateid");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createoocshop /deleteoocshop /acceptrequest || /createinfoboard /deleteinfoboard /setinfoboardstring");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /creategstation /deletegstation || /createfacgate /deletefacgate /facgateeditor /editfacgate /facgateid");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /createfamgate /deletefamgate /editfamgate /famgateeditor /famegateid");
    SendClientMessage(playerid, COLOR_GREEN,"CO Server Owner: /hqcreate /hqdelete /hqdelete /ganghqid");
    }
    if(alevel >= 99999)
    {
    SendClientMessage(playerid, COLOR_LIGHTBLUE," Server Owner: /makeadmin /makebanappealer /makegangmod /makespecops /server /payday");
    }


    new atext[60]; if(PlayerInfo[playerid][pAdmin] == 0){ atext = ""; } if(PlayerInfo[playerid][pAdmin] == 1){ atext = "Probesupporter"; } if(PlayerInfo[playerid][pAdmin] == 2){ atext = "Supporter"; } if(PlayerInfo[playerid][pAdmin] == 3){ atext = "Moderator"; } if(PlayerInfo[playerid][pAdmin] == 4){ atext = "Super Moderator"; } if(PlayerInfo[playerid][pAdmin] == 1337){ atext = "Administrator"; } if(PlayerInfo[playerid][pAdmin] == 1338){ atext = "Super Administrator"; } if(PlayerInfo[playerid][pAdmin] == 1339){ atext = "Co Server Owner"; } if(PlayerInfo[playerid][pAdmin] == 99999){ atext = "Server Owner"; } if(PlayerInfo[playerid][pDeveloper] >= 1 && PlayerInfo[playerid][pAdmin] < 1){ atext = "Entwickler"; } if(PlayerInfo[playerid][pTester] >= 1 && PlayerInfo[playerid][pAdmin] < 1){ atext = "Tester"; } format(string, sizeof(string), "[OOC] %s %s: %s", atext, RemoveUnderScore(playerid), result); OOCOff(COLOR_ADMIN,string); } return 1; }
    Benötige immer noch Hilfe.