Script Color Prolem dringend 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 hab ein Problem mit Namen Color..


    Also wenn man die TAB Taste drückt sieht man ya die User Anzahl und die sind bei mir mit Farben versehen wie kann ich des so machen das jeder einfach Weiß ist ohne Farbe zu haben ?


    bitte kann wer helfen?

  • SetPlayerColor



    Function SetPlayerToTeamColor(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_LSCOP); // Copfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_FBI); // Copfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_ARMY); // Armyfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_ARZT); // ARZT
    }
    else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_LCN); // LCN
    }
    else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_YAKUZA); // YAKUZA
    }
    else if(PlayerInfo[playerid][pLeader] == 7)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_PReSI); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 7)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_PReSISCHUTZ); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_HITMAN); // HITMAN
    }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_CNN); // CNN
    }
    else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_TAXI); // TAXI
    }
    else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_FL); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_TRIADEN); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_Grove); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_BALLAS); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_BIKER); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_VAGOS); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_AZEN); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_Osmanen); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 19)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_BloodZ); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_TERROR); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 21)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_WHELL); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_FEUER); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    //SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    SetPlayerColor(playerid,NAMECOLOR_LCN2); // PRÄSI
    }
    else if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SetPlayerColor(playerid,0xFF740000); // OAMT Farbe
    }
    else
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    }
    }


    das ?