Skip to content

Emotes: 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-emotes']:Name(...) from the side named in each table.

Client ​

ExportDescription
CancelIfActive()qb-smallresources owns X and calls this export before toggling hands-up. A single key command avoids the ordering race caused by two mappings on X.
closeMenu()
current()
IsHandsUp()Compatibility for resources that used qb-smallresources:getHandsup(). The Lumo action key is now the single owner of the hands-up state.
isPlaying()
list()
openMenu()
play(id)
stop()

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
emotes:OpenMenuBack-compat with the events the previous version exposed.
lumo-emotes:client:profilesaved, stored
lumo-emotes:client:propSpawnednetId
lumo-emotes:client:sharedCancelledrequestId, reason
lumo-emotes:client:sharedDeclinedname
lumo-emotes:client:sharedPreparedata
lumo-emotes:client:sharedRequestdata
lumo-emotes:client:sharedRequestCancelledrequestId
lumo-emotes:client:sharedRequestFailedreason
lumo-emotes:client:sharedStartdata
lumo-emotes:client:sharedStoppedrequestId
lumo-emotes:openMenu
lumo-emotes:OpenMenu
lumo-emotes:playid
lumo-emotes:stop
lumo-emotes:toggleMenu
lumo-emotes:ToggleMenu

Server ​

EventArgumentsDescription
lumo-emotes:server:requestProfile
lumo-emotes:server:saveProfileprofile
lumo-emotes:server:sharedAnswerrequestId, accepted
lumo-emotes:server:sharedReadyrequestId, ready, networkTime
lumo-emotes:server:sharedRequesttargetId, emoteId
lumo-emotes:server:sharedStoprequestId
lumo-emotes:server:spawnPropmodel, coords

Commands ​

CommandSideDescription
/-lumo_pointclient
/-lumoemote_wheelclient
/emoteplaceclient/emoteplace <name> skips the menu and drops straight into placement mode.
/expressionresetclient
/lumo_crawlclient
/lumo_crouchclient
/lumo_handsupclient
/lumo_ragdollclient
/lumo_shared_acceptclient
/lumo_shared_declineclient
/lumoemote_cancelclient
/walkresetclient