Quote:
Originally Posted by VMAN
The method I used probably isn't the best, but I used get_players and looped through alive T's and counted them. If it was 1 T, it would compare the ID with the person who typed the command.
Hope this helps
|
Why not use the flags and only retrive alive terrorists and check if the num is 1?
PHP Code:
// hns.sma
new iPlayers[ 32 ], iNum;
get_players( iPlayers, iNum, "ae", "TERRORIST" );
if( iNum == 1 )
{
// ....
}