Raised This Month: $ Target: $400
 0% 

optimization for equali


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 10-25-2013 , 12:03   Re: optimization for equali
Reply With Quote #5

task going for map change.

This code will check nice if map is big and isn't _2x2 ?
Quote:
Originally Posted by Debesėlis View Post
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" );
            } 

do i need to us break; ?
Quote:
Originally Posted by DWIGHTpN View Post
Code:
              if( containi(maps[i], "_2x2") != -1 ) {
                 // do..
                 break;

Last edited by Debesėlis; 10-25-2013 at 12:04.
Debesėlis 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 23:18.


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