hallo ich habe eine frage zu Team Farben,
ZitatAlles anzeigenFunction 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,NAMECOLOR_MEDIC); // 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] ==
{
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); // Ls Biker Club-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] == 22 PlayerInfo[playerid][pLeader] == 22)
{
SetPlayerColor(playerid,0xFF140000); // 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,0xFF740000); // OAMT Farbe
}
else
{
SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
}
}
}
sry für die smillys aber das ist so im script aber nicht als smillys
also ich würde gerne wissen wie ich jetzt die Team farben mache ohne das man leute auf der Minimap sehen kann !!!
ich hoffe ich kriege antworten b.z Hilfe
MFG : CRALLE_IV