hook library
Part of Hook Profiler
Summary
Functions
Call(name, gm, ...)shared
Replaces hook.Call with a wrapper that measures the total run time and the number of calls of every hook.
Functions
Replaces hook.Call with a wrapper that measures the total run time and the number of calls of every hook. Only installed in development mode and when DBugR is not present.
Parameters
- name String hook name
- gm Map gamemode table, or nil
- ... Vararg arguments of the hook
Returns
- Any up to six values returned by the original hook.Call