float stat;
string pic;
vector color;
+#ifdef GMQCC
+ stat = -1;
+ pic = "";
+ color = '0 0 0';
+#endif
switch(i)
{
case 0:
pic = "player_yellow.tga";
color = '1 1 0';
break;
+ default:
case 3:
stat = getstati(STAT_PINKALIVE);
pic = "player_pink.tga";
color = '1 0 1';
+ break;
}
if(mySize_x/mySize_y > aspect_ratio)
{
mod_active = 1; // required in each mod function that always shows something
entity tm;
- float teams_count;
+ float teams_count = 0;
for(tm = teams.sort_next; tm; tm = tm.sort_next)
if(tm.team != COLOR_SPECTATOR)
++teams_count;
columns = ceil(teams_count/rows);
int i;
- float row, column;
+ float row = 0, column = 0;
for(i=0; i<teams_count; ++i)
{
vector pos, itemSize;
float CA_GetWinnerTeam()
{
- float winner_team;
+ float winner_team = 0;
if(redalive >= 1)
winner_team = COLOR_TEAM1;
if(bluealive >= 1)
}
if(prev_total_players != total_players)
{
- string teams_missing;
+ string teams_missing = "";
if(!redalive) teams_missing = strcat(teams_missing, ColoredTeamName(COLOR_TEAM1), ", ");
if(!bluealive) teams_missing = strcat(teams_missing, ColoredTeamName(COLOR_TEAM2), ", ");
if(ca_teams >= 3)