Raised This Month: $ Target: $400
 0% 

ID of an Random T


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-27-2010 , 06:59   Re: ID of an Random T
Reply With Quote #2

PHP Code:
    new random1
    
new players[32], pnumtempid;
    new 
max1 0terrs32 ];
    
get_players(playerspnum"a");

    for( new 
ii<pnumi++ )
    {
        
tempid players[i]
    
//    vip[tempid] = 0
        
if(cs_get_user_team(tempid) == CS_TEAM_T)
        {
            
terrsmax1++ ] = tempid;
        }
    }
    
    
random1 terrsrandom_num(1max1) ]; 
__________________
xPaw 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:47.


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