Raised This Month: $ Target: $400
 0% 

Trouble with cs_set_user_defuse


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-20-2009 , 11:42   Re: Trouble with cs_set_user_defuse
Reply With Quote #1

Or
PHP Code:
        for( new 36i++ )
        {
            if( 
get_msg_arg_int) != g_iDefuserColor] )
            {
                
set_msg_arg_intiARG_BYTEg_iDefuserColor] );
            }
        } 
xD
__________________
xPaw is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 08-20-2009 , 12:16   Re: Trouble with cs_set_user_defuse
Reply With Quote #2

Quote:
Originally Posted by xPaw View Post
Or
PHP Code:
        for( new 36i++ )
        {
            if( 
get_msg_arg_int) != g_iDefuserColor] )
            {
                
set_msg_arg_intiARG_BYTEg_iDefuserColor] );
            }
        } 
xD
No, then you would have to do:
PHP Code:
        for( new 36i++ )
        {
            if( 
get_msg_arg_int) != g_iDefuserColor] )
            {
                
set_msg_arg_intiARG_BYTEg_iDefuserColor] );
            }
        } 
Which would be just the same exolent did. The only cpu optimization you could do is this, somehow it takes more memory obviously:
PHP Code:
new const g_iDefuserColor] = { 0002550255 }; 
SnoW is offline
Send a message via MSN to SnoW
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 15:12.


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