Raised This Month: $ Target: $400
 0% 

Trouble with cs_set_user_defuse


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-20-2009 , 02:50   Re: Trouble with cs_set_user_defuse
Reply With Quote #1

Code:
#include < amxmodx > new const g_iDefuserColor[ 3 ] = { 255, 0, 255 }; public plugin_init( ) {     register_message( get_user_msgid( "StatusIcon" ), "MessageStatusIcon" ); } public MessageStatusIcon( iMsgId, iDest, iReceiver ) {     static szIcon[ 32 ];     get_msg_arg_string( 2, szIcon, 31 );         if( equal( szIcon, "defuser" ) )     {         for( new i = 0; i < 3; i++ )         {             if( get_msg_arg_int( i + 3 ) != g_iDefuserColor[ i ] )             {                 set_msg_arg_int( i + 3, ARG_BYTE, g_iDefuserColor[ i ] );             }         }     } }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 15:12.


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