🔧Config

Explanations for all config values.

Debug

Debug should only be used for development and tracing issues. As a server owner you can ignore this value, unless told otherwise. Enabling debugging will allow transparency, printing the values you are using, and what might have went wrong. Example:

Config.Debug = false

Weapon Type

When handling weapons in Fivem, some servers differ from others. Using modern alternatives, it is almost guaranteed that you will have it as an item instead of on the weapon wheel. However, in an effort to support as many servers as possible, you can alter this configuration to have your weapons added according to your server's needs. Example:

-- "item" or "weapon", set to "weapon" to use the scrollwheel
Config.WeaponType = "item"

Progressbar

By default we support ESX Legacy's progressbar, QBCore's progressbar and ox_lib's progressbar. You can optionally add your own progressbar by tinkering in the files, the only requirement is that it accepts and returns the same values as the ones we provide. Set the value to default to use your framework's progressbar. Set the value to ox_lib to use ox_lib's progressbar. Example:

Config.Progressbar = "ox_lib"

Last updated