[HELP] Stopping Brass Event
Any way to stop an event? I'm trying to stop the Brass event (https://wiki.alliedmods.net/Half-Lif...e_Events#Brass) for M3, Scout, and AWP, but nothing works. Here's what I have so far:
PHP Code:
|
Re: [HELP] Stopping Brass Event
Register (hook) it as a message?
|
Re: [HELP] Stopping Brass Event
Quote:
PHP Code:
|
Re: [HELP] Stopping Brass Event
Code:
or hook Ham_Weapon_PrimaryAttack and set the m_flEjectBrass member to 0.0 |
Re: [HELP] Stopping Brass Event
register_event is a post hook, you can not block anything.
register_message is a pre hook. |
Re: [HELP] Stopping Brass Event
Quote:
Quote:
|
Re: [HELP] Stopping Brass Event
You also can block the message using set_msg_block(get_user_userid("Brass"), BLOCK_SET) it will be much better.
|
| All times are GMT -4. The time now is 17:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.