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-divined-chat/hooks.lua (unencrypted).
Server hooks
Hooks.OnPlayerBan(source, reason)
Hooks.OnPlayerBan(source, reason)
Default
DropPlayer(source, reason).Hooks.OnAuditLog(source, action, details)
Hooks.OnAuditLog(source, action, details)
Default
lib.logger(source, 'apex-divined-chat', details, action).Client hooks
Hooks.ShowClientNotify(title, message, type)
Hooks.ShowClientNotify(title, message, type)
Default
lib.notify.Hooks.IsPhoneOpen()
Hooks.IsPhoneOpen()
Default —
pcall exports[Config.ExternalResources.phone]:IsPhoneOpen().Hooks.IsPlayerInEmote()
Hooks.IsPlayerInEmote()
Default —
pcall exports[Config.ExternalResources.emotes]:IsPlayerInAnim().Hooks.IsTalkAnimWhileEmoteEnabled()
Hooks.IsTalkAnimWhileEmoteEnabled()
Default
true. Whether to play talk anim over emotes.Hooks.IsVoiceTalking(ped)
Hooks.IsVoiceTalking(ped)
Default — returns
Hooks.VoiceTalkingState. The hook auto-listens to SaltyChat_TalkStateChanged and mumble:talkingStateChanged.Hooks.WaitForResources()
Hooks.WaitForResources()
Default — waits for the configured phone resource to be
started.