Quote:
Originally Posted by CrazY.
Code:
register_message(get_user_msgid("Brass"), "EjectBrass");
...
public EjectBrass()
{
return PLUGIN_HANDLED;
}
or hook Ham_Weapon_PrimaryAttack and set the m_flEjectBrass member to 0.0
|
It works! Thank you! So basically I just had to switch from event to message, I didn't understand that the first thEsp told me. Finally fixed it after a long while.
Quote:
Originally Posted by HamletEagle
register_event is a post hook, you can not block anything.
register_message is a pre hook.
|
Very good to know, thank you very much! I'm sure I'll keep that in mind from now on...
__________________