Quote:
Originally Posted by Bugsy
Can call get_players() twice using the team flag. The count is passed by reference to a variable.
|
Does this look right?
Code:
public checkPlayerAmount()
{
new playersCT[32]
new playersT[32]
new numCT
new numT
get_players(playersCT, numCT "e", "CT")
get_players(playersT, numT "e", "TERRORIST")
if (numCT == 5 && numT == 5)
{
console_cmd(0, "csstats_pause 0")
}
}
__________________