Skip to content

Loading Screen: exports, events & commands ​

Generated from the Lua in the release. Descriptions are the comments above each definition. Event names and export names are public contracts: they do not change between versions.

Exports ​

Call them as exports['lumo-loading']:Name(...) from the side named in each table.

Client ​

ExportDescription
Close()exports['lumo-loading']:Close() fade out and close (blocks for outroMs) exports['lumo-loading']:SetStatus(text) show your own line, e.g. 'Preparing your characters'
SetStatus(text)

Events ​

  • Client events are triggered on the player: TriggerClientEvent(name, src, ...) from the server, or TriggerEvent(name, ...) on the client.
  • Server events are triggered with TriggerServerEvent(name, ...). The server checks the player, distance and amounts itself; never rely on a client to do it.

Client ​

EventArgumentsDescription
lumo-loading:client:previewdata, opts