help me please
#8

OnPlayerSpawn:
pawn Код:
SetPlayerToTeamColor(playerid);
At the bottom:
pawn Код:
forward SetPlayerToTeamColor(playerid);
public SetPlayerToTeamColor(playerid)
{
    if(gTeam[playerid] == TEAM_VAGOS) {
        SetPlayerColor(playerid,COLOR_YELLOW);
    } else if(gTeam[playerid] == TEAM_BALLAS) {
        SetPlayerColor(playerid,COLOR_PINK);
    }
}

gteam = the teams
replace COLOR_YELOW or COLOR_PINK with your own colors.
Reply


Messages In This Thread
help me please - by AsAsIn2 - 15.01.2010, 16:56
Re: help me please - by AsAsIn2 - 15.01.2010, 19:31
Re: help me please - by Joe Staff - 15.01.2010, 19:35
Re: help me please - by AsAsIn2 - 15.01.2010, 19:44
Re: help me please - by Joe Staff - 15.01.2010, 19:57
Re: help me please - by AsAsIn2 - 15.01.2010, 20:20
Re: help me please - by AsAsIn2 - 16.01.2010, 09:14
Re: help me please - by KnooL - 16.01.2010, 09:20
Re: help me please - by AsAsIn2 - 16.01.2010, 12:18
Re: help me please - by MadeMan - 16.01.2010, 16:44

Forum Jump:


Users browsing this thread: 5 Guest(s)