Disable playermarkers for oposite team
#5

That must be caused by the return in your loop! In your case anything isn't necessary there. Although you could do it like this:
pawn Code:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(!IsPlayerConnected(i) || gTeam[i] == gTeam[playerid]) continue;
    SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFF00);
}
Reply


Messages In This Thread
Disable playermarkers for oposite team - by Wesley221 - 28.08.2011, 14:40
Re: Disable playermarkers for oposite team - by iMonk3y - 28.08.2011, 15:04
Re: Disable playermarkers for oposite team - by Pinguinn - 28.08.2011, 15:05
Re: Disable playermarkers for oposite team - by Wesley221 - 28.08.2011, 16:06
Re: Disable playermarkers for oposite team - by AndreT - 28.08.2011, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)