From the reference libraryFiveM

endInitFunction

fivem-docs/docs/scripting-manual/nui-development/loading-screens/endInitFunction.md

endInitFunction


title: endInitFunction toc_hide: true

Triggered when init functions completed invoking, finalizing the startInitFunction event process.

Event Data

This is the data provided to the message event:

interface EventData {
    eventName: 'endInitFunction',
    type: string,
}
  • eventName: The event name.
  • type: The type of init functions that finished invoking.

title: endInitFunction toc_hide: true

Triggered when init functions completed invoking, finalizing the startInitFunction event process.

Event Data

This is the data provided to the message event:

interface EventData {
    eventName: 'endInitFunction',
    type: string,
}
  • eventName: The event name.
  • type: The type of init functions that finished invoking.
Back to documentation