Raised This Month: $51 Target: $400
 12% 

How can catch top players lowest players in both teams


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
newcomer
Member
Join Date: Aug 2011
Old 04-29-2012 , 11:34   How can catch top players lowest players in both teams
Reply With Quote #1

Example at New round, how can catch them
newcomer is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 04-29-2012 , 11:54   Re: How can catch top players lowest players in both teams
Reply With Quote #2

PHP Code:
new plr32 ], num;
new 
idtop;
get_playersplrnum"h" );

for( new 
0numi++ )
{
    
id plr];

    if( !
top )
    {
        
top id;
    }
    
    else
    {
        new 
idFrags get_user_fragsid );
        new 
topFrags get_user_fragstop );
        if( 
idFrags topFrags )
        {
            
top id;
        }
        
        else if( 
idFrags == topFrags )
        {
            new 
idDeaths cs_get_user_deathsid );
            new 
topDeaths cs_get_user_deathstop );
            if( 
idDeaths topDeaths )
            {
                
top id;
            }
            
            else if( 
idDeaths == topDeaths )
            {
                if( 
random_num1) == )
                {
                    
top id;
                }
            }
        }
    }
}

// top = best player index 
__________________
You can do anything you set your mind to, man.

Devil259 is offline
newcomer
Member
Join Date: Aug 2011
Old 04-29-2012 , 13:21   Re: How can catch top players lowest players in both teams
Reply With Quote #3

thank you very much
newcomer is offline
Reply



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 09:59.


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