Beiträge von xSilence

    Das Problem ist , jede Fraktion kann denn Chat lesen.


    zB: La Cosa Nostra Schreibt "Lasst ma Gangfight gegen Groove Street machen"
    Groove Street kann es lesen und antwortet " Wir werden gerüstet sein"

    Hallo liebe Breadfish - Community.
    Ich habe ein Problem mit dem /f Chat.



    if(strcmp(cmd, "/family", true) == 0 || strcmp(cmd, "/f", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMuted] == 1)
    {
    SendClientMessage(playerid, TEAM_CYAN_COLOR, "Du kannst nicht sprechen, du wurdest gemutet!");
    return 1;
    }
    GetPlayerName(playerid, sendername, sizeof(sendername));
    new length = strlen(cmdtext);
    while ((idx < length) && (cmdtext[idx] <= ' '))
    {
    idx++;
    }
    new offset = idx;
    new result[64];
    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    {
    result[idx - offset] = cmdtext[idx];
    idx++;
    }
    result[idx - offset] = EOS;
    if(!strlen(result))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "BENUTZUNG: (/f)amily [familien chat]");
    return 1;
    }
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    //if (gTeam[playerid] >= 5 || PlayerInfo[playerid][pFMember] < 255)
    if( (member >= 1 && member <= 24) || (leader >= 1 && leader <= 24) )
    {
    if(member == 2 || leader == 2)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 3 || leader == 3)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 4 || leader == 4)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 5 || leader == 5)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(5, 0x0087FFFF, string);
    }
    else if(member == 6 || leader == 6)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(6, 0x0087FFFF, string);
    }
    else if(member == 7 || leader == 7)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(7, 0x0087FFFF, string);
    }
    else if(member == 8 || leader == 8)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(8, 0x0087FFFF, string);
    }
    else if(member == 9 || leader == 9)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(9, 0x0087FFFF, string);
    }
    else if(member == 10 || leader == 10)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 11 || leader == 11)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 12 || leader == 12)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 13 || leader == 13)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 14 || leader == 14)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 15 || leader == 15)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 16 || leader == 16)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 17 || leader == 17)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 18 || leader == 18)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    }
    else if(member == 19 || leader == 19)
    {
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Co-Leader %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Member-Rank4 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Member-Rank3 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Member-Rank2 %s: %s. )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Member-Rank1 %s: %s. )) **", sendername, result); }
    SendFamilyMessage(PlayerInfo[playerid][pMember], 0x0087FFFF, string);
    SendFamilyMessage(PlayerInfo[playerid][pLeader], 0x0087FFFF, string);
    (Das geht noch bis Fraktion 24 , musste ich aus Platz gründen einsparen.)
    }
    }
    }
    return 1;
    } Der /f chat soll nur für die jeweilige Fraktion Les/Sichtbar sein.


    Ich bedanke mich im vorraus. :)

    } //Yakuza Drinnen
    if(strcmp(cmd, "/yenter", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 6 PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,-2720.6685,-320.4479,7.8438))
    {
    SetPlayerPos(playerid,2018.5990,1017.7141,996.8750);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,4);
    }
    }
    } //Yakuza draußen
    if(strcmp(cmd, "/yexit", true) == 0)
    {
    ~> Hier war der Error if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2018.5990,1017.7141,996.8750))
    {
    SetPlayerPos(playerid,-2720.6685,-320.4479,7.8438);
    SetPlayerFacingAngle(playerid,43.1321);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    }
    Vielen Dank , ich testen es gleich mal.

    Hallo liebe Breadfisher , ich habe an einem neuen Befehl für die Yakuza zum Betretten und Verlassen der Base gescriptet nur ich bekomme immer wieder ein paar Error's und hab schon alles gecheckt.. ich hoffe das ihr mir helfen könnt.


    } //Yakuza Drinnen
    if(strcmp(cmd, "/yenter", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 6 PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,-2720.6685,-320.4479,7.8438))
    {
    SetPlayerPos(playerid,2018.5990,1017.7141,996.8750);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,4);
    }
    }
    } //Yakuza draußen
    if(strcmp(cmd, "/yexit", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2018.5990,1017.7141,996.8750))
    {
    SetPlayerPos(playerid,-2720.6685,-320.4479,7.8438);
    SetPlayerFacingAngle(playerid,43.1321);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    } Das hab ich gescriptet.


    Zeile (15316) : warning 219: local variable "string" shadows a variable at a preceding level
    Zeile (15324) : warning 219: local variable "string" shadows a variable at a preceding level
    Zeile (27597) : error 001: expected token: ")", but found "-identifier-"
    Zeile (27597) : warning 215: expression has no effect
    Zeile (27597) : error 001: expected token: ";", but found ")"
    Zeile (27597) : error 029: invalid expression, assumed zero
    Zeile (27597) : fatal error 107: too many error messages on one line Und das sind die Error's.
    Ich hoffe das ihr mir helfen könnt , vielen dankt im Vorraus!