Hook a raw pointer
int DHookRaw(Handle setup, bool post, Address addr, DHookRemovalCB removalcb, DHookCallback callback)
Setup handle to use to add the hook.
true to make the hook a post hook. (If you need to change the return value or need the return alue use a post hook! If you need to change params and return use a pre and post hook!)
This pointer address.
Callback for when the hook is removed (Entity hooks are auto-removed on entity destroyed and will call this callback)
Optional callback function, if not set here must be set when creating the hook.
INVALID_HOOK_ID on fail a hookid on success
Invalid setup handle, invalid address, invalid hook type or invalid callback.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.