7 #include "../client/main.qh"
8 #include "../common/teams.qh"
10 int GetPlayerColorForce(int i)
15 return stof(getplayerkeyvalue(i, "colors")) & 15;
18 int GetPlayerColor(int i)
20 if(!playerslots[i].gotscores) // unconnected
22 else if(stof(getplayerkeyvalue(i, "frags")) == FRAGS_SPECTATOR)
25 return GetPlayerColorForce(i);
28 string GetPlayerName(int i)
30 return ColorTranslateRGB(getplayerkeyvalue(i, "name"));