Raised This Month: $ Target: $400
 0% 

How can catch top players lowest players in both teams


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 07:41.


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