Configuration
Edit config.lua for the settings below, and locales/en.lua for the text players see.
General
| Option | Default | What it does |
|---|
Config.Account | 'cash' | Account that pays: 'cash' or 'bank' |
Config.PriceMultiplier | 1.0 | Multiplies every price (1.0 = normal) |
Config.Mode | 'simple' | 'simple' shops in the store; 'cinematic' moves the player to a private fitting room |
Fitting room
Used when Config.Mode is 'cinematic'.
| Option | Default | What it does |
|---|
Config.Instance.room | vec4(-797.89, 328.49, 220.44, 356.2) | Where the fitting room is |
Config.Instance.firstBucket | 500000 | Fitting rooms use routing buckets from here up. Keep clear of other scripts' buckets |
Target and prompt
| Option | Default | What it does |
|---|
Config.Target | 'auto' | 'auto' (fusing-target, ox_target, qb-target), a target resource's name, or false for the E prompt only. With a target, the E prompt is off |
Config.Interact.range | 1.6 | How close for the E prompt |
Config.Interact.target.label | 'Browse clothing' | Target option text |
Config.Interact.target.icon | 'fas fa-shirt' | Target option icon |
Config.Interact.target.width | 1.4 | Target zone width |
Config.Interact.target.length | 1.4 | Target zone length |
Config.Interact.target.distance | 2.0 | Target reach |
Saving
| Option | Default | What it does |
|---|
Config.Save.mode | 'auto' | 'auto' (illenium-appearance if running, otherwise the player's data, qb-clothing and esx_skin) or 'metadata' for the player's data only |
Config.Save.resource | 'auto' | 'auto' or the name of your appearance resource |
Wardrobe
| Option | Default | What it does |
|---|
Config.Wardrobe.max | 10 | Saved outfits per player |
Blip
| Option | Default | What it does |
|---|
Config.Blip.enabled | true | Show shop blips |
Config.Blip.sprite | 73 | Blip icon |
Config.Blip.color | 4 | Blip color |
Config.Blip.scale | 0.8 | Blip size |
Config.Blip.label | 'Clothing' | Blip name |
Shop locations
Config.Locations holds the shops. 14 are set up by default.
| Field | What it does |
|---|
coords | The shop |
clerk | Where the clerk stands and faces |
counter | Where the player stands to browse |
model | The clerk's ped model |
name | The shop's name |
{ coords = vec3(-711.70, -155.55, 37.42), clerk = vec4(-708.95, -151.50, 37.42, 116.39),
model = 's_f_y_shop_low', name = 'Ponsonbys',
counter = vec4(-710.15, -152.48, 37.42, 296.71) },