Skip to main content

Events

Events exposed by wasabi_multichar that you can listen to for integration hooks.

Client events​

wasabi_multichar:openUI​

Fired when the multichar UI is opened.

AddEventHandler('wasabi_multichar:openUI', function()
-- your integration code
end)

wasabi_multichar:openFromLogout​

Fired when the multichar session is reset and the UI is opened from the configured logout flow.

AddEventHandler('wasabi_multichar:openFromLogout', function()
-- your integration code
end)

wasabi_multichar:closeUI​

Fired when the multichar UI is closed.

AddEventHandler('wasabi_multichar:closeUI', function()
-- your integration code
end)

wasabi_multichar:slotPurchased​

Fired after a successful slot purchase when slot/character data should be refreshed.

AddEventHandler('wasabi_multichar:slotPurchased', function()
-- your integration code
end)

Server events​

wasabi_multichar:quit​

Fired when the player chooses to quit/disconnect from the multichar screen.

RegisterNetEvent('wasabi_multichar:quit', function()
-- your integration code
end)
warning

These events are intended to be listened to, not triggered. wasabi_multichar fires them internally as part of its UI and spawn flow. Triggering them from external resources can cause false-positive security checks.