Few questions, regarding this... I've searched and didn't seem to find answers
1) What actually is CurWeapon, I realise that this message is called when weapon changes, and that contains which weapon is switched to?
2) What would blocking of this message do? I would like to block CurWeapon message to test something... I'm also interested in a way to delay this message. I've tried to block with this code:
Code:
public plugin_init() {
register_message(get_user_msgid("CurWeapon"), "block")
}
public block(msg_id, msg_dest, entity) {
return PLUGIN_HANDLED
}
Either it didn't block or I'm not aware it is blocked. Everything in-game seems to be regular during weapon change while plug-in is active, and no error is present in server console.
__________________