Client Events
⚠️
These events are triggered by ox_core when an action occurs. You should not trigger them from other scripts.
ox:playerLoaded
When a character is loaded
function(playerId: number, isNew: boolean)
ox:statusTick
On each status tick
function(statuses: Record<string, OxStatus>)
Net Events
ox:setGroup
When the character is added or removed from a group
function(groupName: string, grade?: number)
ox:licenseAdded
When the character got a new license
function(licenseName: string)
ox:licenseRemoved
When a character's license is removed.
function(licenseName: string)
ox:startCharacterSelect
When the player has spawned.
function(userId: number, characters: Character[])
ox:setActiveCharacter
When the player has chosen their character.
function(character: Character, groups: Record<string, number>)