Skip to main content

Events

A series of possibly useful events within our Complete Banking (wasabi_banking) resource.

Client​


wasabi_banking:uiState
RegisterNetEvent('wasabi_banking:uiState', function(state) -- This event can be used to know when the UI is open or closed for huds and other resources.
--[[ if state then
print('UI is now open')
else
print('UI is now closed')
end
]]
end)

state : Returns true or false depending on which state the UI is switching to. Returning true reflects an open UI while false as closed.