Wie kann man das In Dialog zeigen?

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
  • Abend Community


    Wollte mal wissen wie man das in Dialog zeigen Zb. Supporter wieter dann seine befehle projektleitung weiter seine befehele?




    }


    if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pSupporter] >= 1)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /a /o /kick /unfreeze /check /goto /spawn /aws");
    }
    if (PlayerInfo[playerid][pAdmin] >= 1)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /cleartext (/ct) /getip /bigears /checkwarns /setint /mute /rrball /coords");
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /kickres /warn /sban /goto /cnn /a(dmin) /aw(s) /showme /gotocoords");
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /countdown /cleartext /o(oc) /togphone /checkip /checkwaffen /ban");
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /lt (Einheit nach links) /rt (Einheit nach rechts) /setvw /setplayervw");
    }
    if (PlayerInfo[playerid][pAdmin] >= 2)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Supporter : /setteam /cnn /freeze /unfreeze /recon /cam /spawn /rc (Carrespawn)");
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Supporter : /getip /prison /ban /ainvite");
    }
    if (PlayerInfo[playerid][pAdmin] >= 3)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"dministrator Rang 1 : /noshowme /auninvite /getkopfgeld");
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"dministrator Rang 1 : /mark /gotomark /gethere /oldcar /gotocar /getcar /saveall /vworld");
    }
    if (PlayerInfo[playerid][pAdmin] >= 4)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 2 : /knast /logout /logoutpl /logoutall /edit /asellhouse /asellbiz /bizverkaufen /setchamp /umbenennen");
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 2 : /fixveh /destroycars /sethp /setarmor /waffe /givemoney /money /");
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 2 : /pevent /delevent /mole /hq /cban");
    }
    if (PlayerInfo[playerid][pAdmin] >= 5)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 3 : /weather /weatherall /startlotto /makesupp /arevive");
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 3 : /setfkasse /fl (Fraktionsliste) /noooc /hirekey /gethereall");
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 3 : /haus /hauseo /cnnn /makeircadmin /feueraus /brand");
    }
    if (PlayerInfo[playerid][pAdmin] >= 6)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Head-Administrator : /makeleader");
    }
    if (PlayerInfo[playerid][pAdmin] >= 7)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Projekt Manager : /makedonator");
    }
    if (PlayerInfo[playerid][pAdmin] >= 8)
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN,"Projektleiter : /togreport ");
    }
    }
    return 1;

  • Würde ich ja gern aber dann kommt das raus ? :O


    1. [/pwn][/pwn]
    2. Dann Text
    =


    }
    if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pSupporter] >= 1) { SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /a /o /kick /unfreeze /check /goto /spawn /aws"); } if (PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /cleartext (/ct) /getip /bigears /checkwarns /setint /mute /rrball /coords"); SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /kickres /warn /sban /goto /cnn /a(dmin) /aw(s) /showme /gotocoords"); SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /countdown /cleartext /o(oc) /togphone /checkip /checkwaffen /ban"); SendClientMessage(playerid, COLOR_LIGHTGREEN, "Probe-Supporter : /lt (Einheit nach links) /rt (Einheit nach rechts) /setvw /setplayervw"); } if (PlayerInfo[playerid][pAdmin] >= 2) { SendClientMessage(playerid, COLOR_LIGHTGREEN,"Supporter : /setteam /cnn /freeze /unfreeze /recon /cam /spawn /rc (Carrespawn)"); SendClientMessage(playerid, COLOR_LIGHTGREEN,"Supporter : /getip /prison /ban /ainvite"); } if (PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessage(playerid, COLOR_LIGHTGREEN,"dministrator Rang 1 : /noshowme /auninvite /getkopfgeld"); SendClientMessage(playerid, COLOR_LIGHTGREEN,"dministrator Rang 1 : /mark /gotomark /gethere /oldcar /gotocar /getcar /saveall /vworld"); } if (PlayerInfo[playerid][pAdmin] >= 4) { SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 2 : /knast /logout /logoutpl /logoutall /edit /asellhouse /asellbiz /bizverkaufen /setchamp /umbenennen"); SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 2 : /fixveh /destroycars /sethp /setarmor /waffe /givemoney /money /"); SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 2 : /pevent /delevent /mole /hq /cban"); } if (PlayerInfo[playerid][pAdmin] >= 5) { SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 3 : /weather /weatherall /startlotto /makesupp /arevive"); SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 3 : /setfkasse /fl (Fraktionsliste) /noooc /hirekey /gethereall"); SendClientMessage(playerid, COLOR_LIGHTGREEN,"Administrator Rang 3 : /haus /hauseo /cnnn /makeircadmin /feueraus /brand"); } if (PlayerInfo[playerid][pAdmin] >= 6) { SendClientMessage(playerid, COLOR_LIGHTGREEN,"Head-Administrator : /makeleader"); } if (PlayerInfo[playerid][pAdmin] >= 7) { SendClientMessage(playerid, COLOR_LIGHTGREEN,"Projekt Manager : /makedonator"); } if (PlayerInfo[playerid][pAdmin] >= 8) { SendClientMessage(playerid, COLOR_LIGHTGREEN,"Projektleiter : /togreport "); } } return 1;




    So ein Scheiß ?