Raised This Month: $ Target: $400
 0% 

get_players and IF function problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MasterKy
Junior Member
Join Date: Aug 2009
Old 08-26-2009 , 13:52   get_players and IF function problem
Reply With Quote #1

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 
iPlayers32 ];
new 
iPlayerCount;

get_players iPlayers iPlayerCount "a" "TERRORIST" );
if(
iPlayerCount 1){
client_printprint_chat "Only 1 for finish!" iPlayerCount );
}

i have entered it with == but dont work too:
PHP Code:
if(iPlayerCount == 1){ 

Last edited by MasterKy; 08-26-2009 at 14:05.
MasterKy is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode