Functions

Getters

GetUIState

Retrieving the state of the interface. The available states are Welcome, Configuration, and Game. It returns an object if no argument is passed.

exports['ZSX_UI']:GetUIState(state)

GetPlayerSettings

Retrieving player settings. It returns an object if no argument is passed.

exports['ZSX_UI']:GetPlayerSettings(setting)
Setters

SetUIState

Setting the UI state of the interface. It interacts with the variable, not the interface itself.

exports['ZSX_UI']:SetUIState(element, bool)

For developers

ForceCloseMenu

Hides the configuration menu using the [F9] key.

exports['ZSX_UI']:ForceCloseMenu()

HideUI

Hides the entire interface.

exports['ZSX_UI']:HideUI(state)

Last updated