PHP Code:
new players[32],num,id
get_players(players, num)
new count_t, count_ct
for (new i=0;i<num;i++)
{
switch (cs_get_user_team(players[i]))
{
case CS_TEAM_T: count_t++;
case CS_TEAM_CT: count_ct++;
}
client_print(0, print_chat, "TERO: %d", count_t)
client_print(0, print_chat, "CT: %d", count_ct)
}
__________________