28.08.2011, 14:40
Im trying to disable the playermarkers from the oposite team, but i cant get it working.
I have this under OnPlayerSpawn, and when you spawn, the oposite team is still visible.
Anyone know what im doing wrong?
pawn Code:
for( new i = 0; i < MAX_PLAYERS; i++ )
{
if( gTeam[playerid] != gTeam[i] )
{
SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFFFF );
return 1;
}
}
Anyone know what im doing wrong?