From the reference libraryFiveM

initFunctionInvoked

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

initFunctionInvoked


title: initFunctionInvoked toc_hide: true

Triggered after an init function was invoked, after initFunctionInvoking.

Event Data

This is the data provided to the message event:

interface EventData {
    eventName: 'initFunctionInvoked',
    type: string,
    name: string,
}
  • eventName: The event name.
  • type: The type of init function that was invoked.
  • name: The name of the init function.

title: initFunctionInvoked toc_hide: true

Triggered after an init function was invoked, after initFunctionInvoking.

Event Data

This is the data provided to the message event:

interface EventData {
    eventName: 'initFunctionInvoked',
    type: string,
    name: string,
}
  • eventName: The event name.
  • type: The type of init function that was invoked.
  • name: The name of the init function.
Back to documentation