Skip to content

ax.hook

Hook system for registering and managing custom hook types, internally handles Schema and Module hooks.

Documented functions: 2  ·  Realm: shared

Functions


ax.hook:Register(name)

Registers a new hook type.

Realm: shared

Parameters

Name Type Description
name string The name of the hook type.

Source: gamemode/framework/libraries/sh_hook.lua:21


ax.hook:UnRegister(name)

Unregisters a hook type.

Realm: shared

Parameters

Name Type Description
name string The name of the hook type.

Source: gamemode/framework/libraries/sh_hook.lua:31