Help! With Team Color!
#1

Hello. I set my faction's to a certant color, and for some reason they are showing up on the map for everyone to see. I cannot seem to figure out why its doing that. Please Help . I dont wana remove markers for players, i just wana remove team color markers.

If this helps, this is the code i use
public SetPlayerToTeamColor(playerid)
{
if(IsPlayerConnected(playerid))
{
SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
if(PlayerInfo[playerid][pMember] == 1 ) { SetPlayerColor(playerid, COLOR_LIGHTBLUE); }
if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { SetPlayerColor(playerid, COLOR_VENOMOUS); }
}
}
Reply
#2

You can't stop a player having a colour, you can only remove the marker on the map (AFAIK).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)