native register_impulse(impulse, const function);
Impulse to hook
Name of callback function
- Registers a function to be called on a client impulse.
The function will be called in the following manner: public impulse_handler(client, impulse) client - Client index impulse - Impulse triggered by the client
The callback should return PLUGIN_CONTINUE to ignore the impulse, PLUGIN_HANDLED or higher to nullify it (CmdStart() is not blocked).
When returning PLUGIN_HANDLED or higher from the callback, Engine will still fire other impulse functions. This includes the client_impulse() and client_cmdStart() forwards.
- Impulse forward id