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-restricted-zones/hooks.lua (unencrypted).

Server hooks

Default — xPlayer.getJob().name is in Config.AllowedJobs.
Default no-op. Broadcast a dispatch / JobAd announcement.
function Hooks.OnZoneCreated(source, zone)
    exports['bg-jobads']:SendJobAdFromServer(jobLabel, jobName, message)
end
Default no-op.
Default lib.logger.

Client hooks

Default ESX.ShowNotification, falls back to lib.notify.