Showme in der scor in INVISIBLE machen

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 das alle Spieler z.B. die Farbe weiß in der TAB Liste haben ?
    Das musst du so machen :
    public SetPlayerToTeamColor(playerid)
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) // Die Zahlen sind immer die FraktionsIds


    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // Copfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // Copfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // Armyfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_MEDIC); // Arztfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_LCN); // LaCostaNostrafarbe
    }
    else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_YAKUZA); // Yakuzafarbe
    }
    else if(PlayerInfo[playerid][pLeader] == 7)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_PRAESI); // Präsifarbe
    }
    else if(PlayerInfo[playerid][pMember] == 7)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_PRAESI_SCHUTZ); // Präsischutzfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_CNN); // CNNfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_TAXI); // Taxifarbe
    }
    else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_LEHRER); // Fahrlehrerfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_GROVE); // Grovefarbe
    }
    else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_BALLAS); // Ballasfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_FAF); // 2F2F-farbe
    }
    else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_VAGOS); // Vagosfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white SetPlayerColor(playerid,NAMECOLOR_AZTECAS); //Aztecasfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    else if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    else if(PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // FBIfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    else if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    else if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    else
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    }
    }



    Bei mir ist die Farbe TEAM_HIT_COLOR die Farbe weiß , du musst das halt deinem Script anpassen .