05.06.2012, 02:02
hi. how i can change team color from default color (grey) to something else?
public OnPlayerSpawn(playerid)
{
SetPlayerColor(playerid, YOUR_COLOR_HERE);
//other codes...
return 1;
}
switch(...)
{
case TEAM_COP: SetPlayerColor(playerid, COLOR_BLUE);
case TEAM_TERRORIST: SetPlayerColor(playerid, COLOR_RED);
}