18.12.2011, 06:06
Is it possible to make something where gTeam Survivor cannot see gTeam Animal and gTeam Animal can see gTeam Survivor?
+rep for whoever can help me.
+rep for whoever can help me.
stock HideTeamMarkers(playerid)
{
for(new x; x < MAX_PLAYERS; x++) if(IsPlayerConnected(x))
{
if(gTeam[x] == gTeam[playerid]) // Change this part the way you like
{
SetPlayerMarkerForPlayer(playerid, x, (GetPlayerColor(x) & 0xFFFFFF00));
SetPlayerMarkerForPlayer(x, playerid, (GetPlayerColor(playerid) & 0xFFFFFF00));
}
}
return 1;
}