Raised This Month: $ Target: $400
 0% 

MSG Help...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-30-2005 , 21:03  
Reply With Quote #9

Quote:
Originally Posted by Zenith77
I know id is a player, or else i wouldnt be in the game :/ .....

This is one of the functions ( all the others are the same, just modified to produce diff results... )



Code:
public cmdHudPurple(id) {         if( !get_cvar_num("sv_glow") ) {                 client_print(id, print_chat, "[AMXX] Sorry, GAIO (Glow All in One) is disabled!")                 return PLUGIN_HANDLED     }                 if( g_GlowHudColor[id] == GLOW_PURPLE) {                 client_print(id, print_chat, "[AMXX] You are already have a purple hud!" )                 return PLUGIN_HANDLED     }         client_print(id, print_chat, "[AMXX] Your hud is now purple!" )             message_begin(MSG_ONE, g_msgFade, {0,0,0}, id)     write_short(1<<0)   // fade lasts this long duration     write_short(1<<0)   // fade lasts this long hold time     write_short(1<<2)   // fade type HOLD     write_byte(170)     // fade red     write_byte(0)       // fade green     write_byte(128)     // fade blue     write_byte(100)     // fade alpha     message_end()         g_GlowHudColor[id] = GLOW_PURPLE         g_GlowHudCustomColor[id][0] = 170     g_GlowHudCustomColor[id][1] = 0     g_GlowHudCustomColor[id][2] = 128                 return PLUGIN_HANDLED     }
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 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:49.


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