Search results
Ox Lib. A standalone library for providing easily reusable code as importable modules and exports.
Install cfxlua-vscode to add natives and cfxlua runtime declarations to LLS. You can load ox_lib into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path. A FiveM resource and script library for Lua and JS.
Field types such as date, date-range and time return a unix timestamp on the set value. Force closes the active input dialog and sets its return data as nil.
15 maj 2022 · Provides a variety of exports and importable modules to utilise in other resources, using the lib global (Lua) or with JS modules. Modules are loaded into the environment of the invoking resource, rather than being called by reference.
Install cfxlua-vscode to add natives and cfxlua runtime declarations to LLS. You can load ox_lib into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path.
You can now use the library functions inside of your resource, check the rest of the documentation to see how to utilise them. Using icons for interface functions. The icon library used is Font Awesome 6.0, if for the icon you define only a string the default icon type will be solid.
lib.isTextUIOpen. Returns whether Text UI is opened or not. The currently displayed text is returned as the second value.