Skip to main content

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.

Source: apex-aduty/hooks.lua (unencrypted).
Side: client. Fires when aduty is entered or left. Default no-op — wire up HUD changes, sounds, etc.
function Hooks.OnAdutyStateChanged(isNowActive)
    TriggerEvent('your-hud:setStaffMode', isNowActive)
end
Side: client. Fires when noclip is toggled. Default no-op.
Side: client. Fires on invisibility toggle. Default no-op.
Side: client. Default uses ESX.ShowNotification and falls back to lib.notify.
Side: server. Default DropPlayer(source, reason). Override to integrate with your anti-cheat.
function Hooks.BanPlayer(source, reason, isAutomatic)
    exports['my-anticheat']:banPlayer(source, reason, isAutomatic)
end
Side: server. Default lib.logger. Wire to Discord / your audit pipeline.
Side: server. Default TriggerClientEvent('esx:showNotification', targetSource, message).