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

Client hooks

Primary integration. Default falls back to ESX.ShowNotification. Wire to your announcement NUI for the full branded display.
function Hooks.ShowAnnouncement(title, message, type, jobId, imageUrl, borderColor)
    exports['my-announcements']:render({
        title = title, body = message, image = imageUrl, color = borderColor,
    })
end
Default ESX.ShowNotification, falls back to lib.notify.

Server hooks

Default xPlayer.showNotification(message).
Default lib.logger.