Skip to content

UI

UI is a module to manage the UI element of the game.

Include UI in your script

  1. To use the UI library, just add the initiator as a shared script inside of your fxmanifest.lua file.
lua
shared_scripts {
  '@jo_libs/init.lua'
}
  1. Add the UI module inside the fxmanifest.lua (in lowercase)
lua
jo_libs {
  'ui',
}

You can now use the library inside of your resource with the ui global variable.

Functions

Documentation for the Client side.

Last updated: