Don't return false,
EDIT: Those are already defined, just return them.
ex.: return Y_HOOKS_CONTINUE_RETURN_0;
Code:
#define Y_HOOKS_CONTINUE_RETURN_1 (1) // Continue the hook chain, return 1
#define Y_HOOKS_CONTINUE_RETURN_0 (0) // Continue the hook chain, return 0
#define Y_HOOKS_BREAK_RETURN_0 (~0) // Break the hook chain, return 0
#define Y_HOOKS_BREAK_RETURN_1 (~1) // Break the hook chain, return 1
EDIT: Those are already defined, just return them.
ex.: return Y_HOOKS_CONTINUE_RETURN_0;
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.