PHP Code:
#include <amxmodx>
public plugin_init()
{
register_logevent("round_end", 2, "1=Round_End");
}
public round_end()
{
new players[ 32 ], players_count
new terror_count = 0, ct_count = 0
get_players( players, players_count )
for( new i; i < players_count; i++ )
{
switch( get_user_team( i ) )
{
case 1:
{
terror_count++
}
case 2:
{
ct_count++
}
}
}
}