hello, i want to do this "IF" read if the terrorist player count is 1

the terrorist team, in the game, have more of 1 player but this print the message!
plz help me =/
PHP Code:
public Players(){
new iPlayers[ 32 ];
new iPlayerCount;
get_players ( iPlayers , iPlayerCount , "a" , "TERRORIST" );
if(iPlayerCount = 1){
client_print( 0 , print_chat , "Only 1 for finish!" , iPlayerCount );
}
}
i have entered it with
== but dont work too:
PHP Code:
if(iPlayerCount == 1){