[HELP] Team Colors
#1

Hello, i wanna set gang colors like green to grove street and purple to ballas etc..

i tried SetPlayerToTeamColor but it didnt set the colors ? here is a snippet.
Код:
forward SetPlayerToTeamColor(playerid);

public SetPlayerToTeamColor(playerid)
{
	if (gTeam[playerid] == TEAM_GROVE)
	{
		SetPlayerColor(playerid, TEAM_GROVE_COLOR);
	}
	else if (gTeam[playerid] == TEAM_BALLA)
	{
		SetPlayerColor(playerid, TEAM_BALLA_COLOR);
	}
	else if (gTeam[playerid] == TEAM_AZTECAS)
	{
		SetPlayerColor(playerid, TEAM_AZTECAS_COLOR);
	}
	else if (gTeam[playerid] == TEAM_VAGOS)
	{
		SetPlayerColor(playerid, TEAM_VAGOS_COLOR);
	}
}
Reply


Messages In This Thread
[HELP] Team Colors - by olabv - 06.12.2011, 16:31
Re: [HELP] Team Colors - by AstonDA-G - 06.12.2011, 21:25
Re: [HELP] Team Colors - by olabv - 06.12.2011, 21:37

Forum Jump:


Users browsing this thread: 1 Guest(s)