09.07.2013, 21:10
(
Последний раз редактировалось khalildz; 12.07.2013 в 21:41.
)
We have the solution by me
SetPlayerColor
#define COLOR_PURPLE 0x800080AA
public SetPlayerToTeamColour(playerid)
{
if(gTeam[playerid] == TEAM_GROVE)
{
SetPlayerColor(playerid,COLOR_BLUE);
}
if(gTeam[playerid] == TEAM_ARMY)
{
SetPlayerColor(playerid,COLOR_FORESTGREEN);
}
if(gTeam[playerid] == TEAM_NEWTEAM)
{
SetPlayerColor(playerid,COLOR_PURPLE); // HERE THIS COLOR NOT WORK
}