ax.hook¶
Source: gamemode/framework/libraries/sh_hook.lua
Hook system for registering and managing custom hook types, internally handles Schema and Module hooks.
Documented functions: 2
Functions¶
ax.hook:Register(name)¶
Registers a new hook type.
Realm: shared
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
The name of the hook type. |
ax.hook:UnRegister(name)¶
Unregisters a hook type.
Realm: shared
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
The name of the hook type. |