Quote:
Originally Posted by Honors
If I have understood, you can do this :
Code:
new playerCount
public function( id )
{
new players[ 32 ] , num , i , id
get_players( players , num , "ch" )
for( i = 0; i < num; i++ )
{
playerCount++
}
if( playerCount >= 1 )
{
// stuff ...
}
}
|
num already holds the amount of players, you don't have to loop.
__________________