Raised This Month: $ Target: $400
 0% 

Delete HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-10-2009 , 05:15   Re: Delete HUD
Reply With Quote #1

PHP Code:
#include <amxmodx>

new g_msgHideWeapon;
new 
g_msgCrosshair;

public 
plugin_init() {
    
register_event"ResetHUD""eResetHUD""be" );
    
    
g_msgHideWeapon    get_user_msgid"HideWeapon" );
    
g_msgCrosshair    get_user_msgid"Crosshair" );
}

public 
eResetHUDid ) {
    if( !
is_user_botid ) ) {
        
message_beginMSG_ONE_UNRELIABLEg_msgHideWeapon_id );
        
write_byte( ( << << ) );
        
message_end();
        
        
message_beginMSG_ONE_UNRELIABLEg_msgCrosshair_id );
        
write_byte);
        
message_end();
    }

__________________

Last edited by xPaw; 05-10-2009 at 06:24.
xPaw 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 01:34.


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