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.PriceScale | 1.0 | Multiplies every price (1.0 = normal) |
Config.Language | 'en' | Which locale to use |
Target and chair 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.label | 'Barber Chair' | Target option text |
Config.Interact.distance | 2.0 | Target reach |
Config.Interact.width | 1.2 | Target box width |
Config.Interact.length | 1.2 | Target box length |
Config.Interact.key | 38 | Prompt key (E) |
Config.Interact.padKey | 190 | Prompt button on a controller (D-pad right) |
Config.Interact.range | 1.6 | How close for the E prompt |
Config.Interact.help | true | Help text at the top of the screen |
Config.Interact.marker | see below | The ring drawn on each chair |
marker = { type = 25, r = 235, g = 128, b = 32, a = 90, scale = 0.45, lift = 0.85 },
Barber ped
| Option | Default | What it does |
|---|
Config.Ped.spawnDistance | 70.0 | How close before the barber appears |
Blip
| Option | Default | What it does |
|---|
Config.Blip.enabled | true | Show shop blips. Set false if another script already shows barber blips |
Config.Blip.sprite | 71 | Blip icon |
Config.Blip.color | 25 | Blip color |
Config.Blip.scale | 0.8 | Blip size |
Config.Blip.label | 'Barber' | Blip name |
Shop locations
Config.Locations holds the shops. 7 are set up by default.
| Field | What it does |
|---|
coords | The shop |
clerk | Where the barber stands and faces |
model | The barber's ped model. Leave it out for no barber |
chairs | Where the player sits and faces (x, y, z, w) |
marker | Where the chair's ring is drawn |
{ coords = vec3(136.83, -1708.40, 29.29), clerk = vec4(134.71, -1708.05, 29.29, 136.00),
model = 's_m_m_hairdress_01',
chairs = {
{ x = 137.33, y = -1710.30, z = 29.10, w = 221.65,
marker = vec3(137.45, -1710.44, 29.29) },
{ x = 138.32, y = -1709.17, z = 29.10, w = 221.65,
marker = vec3(138.44, -1709.31, 29.29) },
} },