Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include < amxmodx >
- public plugin_init()
- {
- register_event( "ResetHUD", "evResetHud", "b" );
- register_message( get_user_msgid( "HideWeapon" ), "MsgHideWeapon" );
- }
- public evResetHud( client )
- {
- message_begin( MSG_ONE, get_user_msgid( "HideWeapon" ), _, client );
- write_byte( (1<<1) | (1<<3) | (1<<4) | (1<<5) );
- message_end( );
- }
- public MsgHideWeapon( )
- {
- set_msg_arg_int(1, ARG_BYTE, get_msg_arg_int(1) | (1<<1) | (1<<3) | (1<<4) | (1<<5) )
- }
Advertisement
Add Comment
Please, Sign In to add comment