Example ScriptNew
Example Script: Configuration
All options live in config.lua. Everything else is escrow protected.
v1.0.0Escrow protectedQBox · QBCore · ESX
Tip
After editing, restart only the resource with ensure example_script; a full server restart is not needed.
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