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-container-opening/hooks.lua (unencrypted).
Server hooks
Hooks.OnQuestProgress(source, questKey, progress)
Hooks.OnQuestProgress(source, questKey, progress)
Called on successful container open. Wire your pause-menu / quest system.
Hooks.OnPoliceAlert(coords, message)
Hooks.OnPoliceAlert(coords, message)
Called when a container is opened and the police-alert roll succeeds. Wire to your dispatch.
Hooks.ShouldAllowIllegalActivity()
Hooks.ShouldAllowIllegalActivity()
Default
true. Wire to e.g. return GlobalState.canDoIllegalStuff.Hooks.OnAuditLog(source, action, details)
Hooks.OnAuditLog(source, action, details)
Default
lib.logger.Client hooks
Hooks.ShowClientNotify(title, message, type)
Hooks.ShowClientNotify(title, message, type)
Default
lib.notify.Hooks.ShowHelpText(key, text)
Hooks.ShowHelpText(key, text)
Default
lib.showTextUI.Hooks.HideHelpText(key)
Hooks.HideHelpText(key)
Default
lib.hideTextUI.