Skip to Content

This client event fires once sessionmanager has finished setting up the player’s session, ahead of playerActivated. Session setup happens early in the connection flow, before the player ped exists in the world, so use this event for state that doesn’t depend on the ped being present rather than for world-facing initialization.

Event Name

sessionInitialized

Parameters

This event has no documented parameters.

Example

on('sessionInitialized', () => { console.log('session initialized') })