Naricht wird nicht angezeigt pls Hilfe

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
  • also ich habe eine art /help in Script aber es wird nur eine naricht angezeigt Hie rmel ein text


    public ShowPlayerFractionCommands(playerid)
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fkasse (Fraktionskasse)");
    }
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** TORE: alle Tore gehen Mit maus rad oder Hupen Auf! LSPD /tür SFPD /tür /sfpdauf für beide Tore!");
    [[ SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2 /tür geht bei sfpd und lspd /sfpdauf oder Hupen");]] die wirt nicht angezeigt
    }
    if(gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments /heal /duty /medic1 /medic2 HAUPTTOR: /medic3 HELIS: /khtele");
    }
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /lenter /lexit");
    }
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /yenter /yexit Tor /yauf oder Hupen");
    }
    if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /settax /givetax /penter /pexit /dackluke /präsibüro /ptor");
    }
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /portable /henter /hexit");
    }
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /paper /papers /live /news [text]");
    }
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fare [Fahrpreis]/taxiauf oder Hupen");
    }
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise");
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /haenter /haexit");
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /genter /gexit");
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /benter /bexit ");
    }
    if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /2Fenter /2Fexit /2ft");
    }
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /vaenter /vaexit");
    }
    if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /atenter /atexit");
    }
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /rienter /riexit");
    }
    if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /wccenter /wccexit");
    }
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /terenter /terexit /legbombe /selbstmord");
    }
    if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fw /fenter /fexit");
    }
    if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /renter /rexit /skin(am i)");
    }
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /oamtls /oticket /m /tazer Zoll /tür");

    2 Mal editiert, zuletzt von BulletGT ()

  • Probier mal so:


    if (strcmp("/help", cmdtext, true, 10) == 0)
    {
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** TORE: alle Tore gehen Mit maus rad oder Hupen Auf! LSPD /tür SFPD /tür /sfpdauf für beide Tore!");
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2 /tür geht bei sfpd und lspd /sfpdauf oder Hupen");
    }
    return 1;
    }

  • ich habe es mal da Oben /editiert also so wer das ja auch richtig nur es sind mehre befehle zusamen deswegen und es wird ja bei der 1 ziele nur 1 Naricht angezeigt die 2 nicht