Example Free ScriptFree

Example Free Script: Configuration

All options live in config.lua. The source is open, so you can change anything else too.

v1.0.0Open sourceFreeQBox · QBCore · ESX · Standalone

Tip

After editing, restart only the resource with ensure example_free_script; a full server restart is not needed.

config.lua

config.lua
Config = {}

Config.Framework = 'auto'   -- 'auto', 'qbx', 'qb', 'esx'
Config.Locale    = 'en'
Config.Debug     = false

Config.Target    = true     -- use ox_target / qb-target
Config.Payout    = {
    min = 450,
    max = 900,
}

Options

Prop

Type

Locales

Copy locales/en.json, translate it and set Config.Locale to the new file name.

en.json
tr.json
config.lua
fxmanifest.lua

On this page