Configuration
Configuration of SCode Caravan
Framework
Lua
Config = {
framework = {
name = 'QB', -- ESX / QB
scriptName = 'qb-core', -- es_extended / qb-core
eventName = 'esx:getSharedObject', -- esx / qb-core
targetScript = "qb-target", -- qb-target / ox_target / qtarget / default
},
}Option | Description |
|---|---|
|
|
| Name of your core resource: |
| ESX shared object event (only used on ESX) |
|
|
Stash
Lua
Config.stashSettings = {
maxSlot = 20,
maxWeight = 20000
}Language
All texts are in the Language table. Translate them to the language of your server:
Lua
Language = {
["select"] = "Select",
["left"] = "Left",
["right"] = "Right",
["cancel"] = "Cancel",
["vehicle_move"] = "The transaction was canceled because the vehicle was moving.",
["vehicle_not_suitable"] = "You should bring me a Journey model caravan",
["setup_lab"] = "Browse interior",
["setup_lab_text"] = "~INPUT_CONTEXT~ Browse interior",
["open_stash"] = "Open Stash",
["open_stash_text"] = "~INPUT_CONTEXT~ Open Stash",
["enter_caravan"] = "Enter Caravan",
["not_enough_money"] = "You don't have enough money",
["door_locked"] = "Vehicle door is locked",
["vehicle_too_fast"] = "Vehicle is too fast",
}Last updated: December 6, 2026