yes, very easy.
Code:
for(new i=0;i<=32;i++)
new team = pev(i,pev_team)
Here a litle complete example:You only need the team id number.
I am NOT 100% sure(1= CT,Axis/2= Terror,Allies/0= Spectator)
Code:
public count_players()
{
new teamA,teamB
for(new i=0;i<=32;i++)
{
new team = pev(i,pev_team)
if(team == 1)
teamA++
else if(team == 2)
teamB++
client_print(0,print_chat,"TeamA have %d Player,TeamB have %d Player",teamA,teamB)
}
}
For the teamnames there exist an event:
http://wiki.amxmodx.org/index.php/Ha...t for all Mods
__________________