SetPlayerMarkerForPlayer
#7

Quote:
Originally Posted by Elka_Blazer
Посмотреть сообщение
Can you post the whole code of this parte ?
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(gTeam[playerid] == BLUE_TEAM)
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(gTeam[i] == BLUE_TEAM)
            {
                SetPlayerMarkerForPlayer(playerid, i, COLOR_BLUE);
            }
        }
    }
    return 1;
}
I can see the problem, it's calling for all players.. i just can't think of a way to only call one team.. it's been a long day lol.
Reply


Messages In This Thread
SetPlayerMarkerForPlayer - by Infamous - 15.11.2011, 12:34
Re: SetPlayerMarkerForPlayer - by [MG]Dimi - 15.11.2011, 12:38
Re: SetPlayerMarkerForPlayer - by Infamous - 15.11.2011, 12:49
Re: SetPlayerMarkerForPlayer - by Elka_Blazer - 15.11.2011, 12:52
Re: SetPlayerMarkerForPlayer - by Infamous - 15.11.2011, 12:59
Re: SetPlayerMarkerForPlayer - by Elka_Blazer - 15.11.2011, 13:01
Re: SetPlayerMarkerForPlayer - by Infamous - 15.11.2011, 13:05
Re: SetPlayerMarkerForPlayer - by Elka_Blazer - 15.11.2011, 13:11
Re: SetPlayerMarkerForPlayer - by Infamous - 15.11.2011, 13:13
Re: SetPlayerMarkerForPlayer - by Elka_Blazer - 15.11.2011, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)