Raised This Month: $ Target: $400
 0% 

How can i check...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ghostM
Junior Member
Join Date: Apr 2011
Old 11-11-2011 , 17:54   How can i check...
Reply With Quote #1

How can i check how many people is at the team?
Look at the code:

PHP Code:
new anything random_num(1,2);

new 
iPlayer[32], iNumCTiNumTerr;
get_players(iPlayeriNumCT"a""CT");
get_players(iPlayeriNumTerr"a""TERRORISTS");

switch(
anything) {
    case 
1:
    {
        if( 
iNumCT == && iNumTerr == ) {
            
// command
        
}
    }
    case 
2:
    {
        if( 
iNumTerr == && iNumCT == ) {
            
// command
        
}
    }

Why does this code dont work?

thanks

Last edited by ghostM; 11-11-2011 at 17:55.
ghostM 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:20.


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