Configuration

Edit config.lua for the settings below, and locales/en.lua for the text players see.

General

OptionDefaultWhat it does
Config.Account'cash'Account that pays: 'cash' or 'bank'
Config.PriceScale1.0Multiplies every price (1.0 = normal)
Config.Language'en'Which locale to use

Target and chair prompt

OptionDefaultWhat 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.distance2.0Target reach
Config.Interact.width1.2Target box width
Config.Interact.length1.2Target box length
Config.Interact.key38Prompt key (E)
Config.Interact.padKey190Prompt button on a controller (D-pad right)
Config.Interact.range1.6How close for the E prompt
Config.Interact.helptrueHelp text at the top of the screen
Config.Interact.markersee belowThe ring drawn on each chair
marker = { type = 25, r = 235, g = 128, b = 32, a = 90, scale = 0.45, lift = 0.85 },

Barber ped

OptionDefaultWhat it does
Config.Ped.spawnDistance70.0How close before the barber appears

Blip

OptionDefaultWhat it does
Config.Blip.enabledtrueShow shop blips. Set false if another script already shows barber blips
Config.Blip.sprite71Blip icon
Config.Blip.color25Blip color
Config.Blip.scale0.8Blip size
Config.Blip.label'Barber'Blip name

Shop locations

Config.Locations holds the shops. 7 are set up by default.

FieldWhat it does
coordsThe shop
clerkWhere the barber stands and faces
modelThe barber's ped model. Leave it out for no barber
chairsWhere the player sits and faces (x, y, z, w)
markerWhere 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) },
  } },