Hey Community
Ich habe diesen GameMode hier -> Los Angeles Reallife v4.6
Nun werden aber die Zivis, Hitmans, Yakuza's, Rifa's usw. nicht auf der Karte angezeigt.
Unter OnGameModeInit, habe ich schon ShowPlayerMarkers(1); eingefügt.
Wieso werden die einfach nicht angezeigt? Hier sind die Zeilen:
public SetPlayerToTeamColor(playerid)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
SetPlayerColor(playerid,COLOR_PINK);
if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 21)
SetPlayerColor(playerid,COLOR_BROWN);
if (PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
SetPlayerColor(playerid,COLOR_WHITE);
if (PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
SetPlayerColor(playerid,COLOR_WHITE);
if(Adminmode[playerid] == 1)
{
SetPlayerColor(playerid, COLOR_RED);
}
}
}
Bitte helft mir..
MfG
//E: Hat keiner eine Ahnung?