Source:Documentation Index
Fetch the complete documentation index at: https://docs.apex-services.site/llms.txt
Use this file to discover all available pages before exploring further.
apex-polizeicomputer/hooks.lua (unencrypted).
Client hooks
Hooks.ShowHelpText(key, text)
Hooks.ShowHelpText(key, text)
Default
lib.showTextUI(text, { position = 'right-center' }).Hooks.HideHelpText(key)
Hooks.HideHelpText(key)
Default
lib.hideTextUI.Hooks.ShowClientNotify(title, message, type)
Hooks.ShowClientNotify(title, message, type)
Default
lib.notify.Hooks.SetRadioChannel(channel)
Hooks.SetRadioChannel(channel)
Default no-op. Hook your voice system.
Server hooks
Hooks.OnDispatchUpdate(externalDispatchId, status)
Hooks.OnDispatchUpdate(externalDispatchId, status)
Default no-op. Wire to your dispatch resource.
Hooks.OnAuditLog(source, action, details)
Hooks.OnAuditLog(source, action, details)
Default
lib.logger.Hooks.OnServerNotify(source, title, message, type)
Hooks.OnServerNotify(source, title, message, type)
Default
TriggerClientEvent('apex-polizeicomputer:client:notify', source, ...).