Raised This Month: $ Target: $400
 0% 

optimization for equali


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 10-25-2013 , 11:14   Re: optimization for equali
Reply With Quote #1

Can you check my code? i think i'm doing something wrong.

PHP Code:
new const smallmaps[][] = {
    
"aim_",
    
"fy_",
    
"35hp_",
    
"awp_",
    
"cs_max",
    
"de_dust2_3x3",
    
"cs_pf_dust",
    
"cs_pf_train",
    
"cs_deagle5",
    
"mini_dust2"
}

new const 
bigmaps[][] = {
    
"de_",
    
"cs_office",
    
"cs_italy"

if now is small map server will use set_task ?
PHP Code:
            for ( new isizeof smallmapsi++ )
            {
                if ( 
containismallmaps], "_2x2") != -)
                    
set_task10.0"InfoMapBig" );
            } 
if now is big map ( de_ ) and isn't de_dust2_2x2 then use set_task ...
PHP Code:
            for ( new isizeof bigmapsi++ )
            {
                for ( new 
isizeof smallmapsi++ )
                    if ( 
containismallmaps], "_2x2") != -) return;
                
                
set_task10.0"InfoMapSmall" );
            } 
Debesėlis 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 23:18.


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