Skip to content

Parlours ​

Parlour

The six vanilla tattoo shops are set up in Config.Shops (Vespucci Canals, Downtown Vinewood, Chumash, Sandy Shores, Paleto Bay, El Burro Heights). Each gets a blip and either an ox_target / qb-target zone ("Browse tattoos") or a marker with an [E] prompt. Opening asks the server first: it checks the distance to the shop, opens a session and answers with the catalogue for that shop, your ink and your money.

While the parlour is open the player is frozen, the HUD is hidden and a scripted camera frames the ped. The parlour closes on ESC, when the player dies, when the ped changes, or when the player ends up more than radius + 5 m from where it opened. Closing restores the outfit, re-applies your ink and turns the camera off. If you leave with fresh ink, a toast reminds you of the aftercare.

Layout ​

Area What it does
Zone rail (left) Head & neck, torso & back, arms and legs, each with used / max pieces (5/12). Picking a zone moves the camera to it and filters the catalogue
Your ink (left) A front / back body map with healed, healing, temporary and flagged pieces in different colours, and the list of your pieces with their state (heals in, washes off in, flagged with deadline, removal sessions, "covers …")
Catalogue (right) Tabs, search, style chips, the flash grid, the selected design, the basket and the pay button
Camera bar (bottom) Rotate (Q / E or the slider), Undress zone, Arms out, drag to rotate, wheel to zoom

Controls ​

Input Action
Esc Close (blurs a text field first)
Q / E Rotate 15°
Drag (left or right button) Orbit around the ped
Mouse wheel Zoom
/ Focus the search
↵ Pay the basket

Undress zone is on by default: the clothing of the shown zone is replaced with the set from Config.Undress (torso for torso and arms, legs for legs). Zones with undress = false (the head, by default) keep their clothes. Arms out plays a pose for inner arms and the back (Config.Pose).

Tabs ​

Config.Shops[].tabs sets which tabs a shop shows. Tabs for disabled features are dropped.

Tab Content
flash The shop's designs: kinds shop, crew and custom (as allowed by kinds)
temp Temporary designs (henna, stick-ons). Needs temp in the shop's kinds and Config.Temporary.enabled
cover Cover-ups
removal Laser removal
submit Submit a custom design. Only for players who may submit

Flash ​

Each card shows the design as paper and ink (the design's glyph, or an image from image / Config.Thumbnails.url), its name, style and price. Cards carry a New badge (isNew), a check mark when you already own the design, and a lock with the reason when you can't buy it ("Ballas only"). Designs without a hash for your character's gender are hidden.

Hovering or selecting a card previews it on your ped at once. Previews are applied on the client only; nothing is stored until you pay.

Variants ​

Variant Hash Opacity Price
Black & grey (bw) the design's hash 1.0 price
Colour (color) variants.color hash (and collection) 1.0 price + variants.color.extra
Faded (faded) the design's hash Config.Ink.fadedOpacity (0.55) price × Config.Ink.fadedPriceMul (0.8)

Black & grey and faded always exist; colour only when the design defines it. Temporary designs have no colour variant.

Left, right or both ​

Designs with a mirror (the matching piece on the other arm or leg) offer Left / Right / Both. Left and right buy whichever of the two sits on that side; Both buys the pair, for both prices, and needs room in both zones.

Basket and checkout ​

Add to basket collects several pieces (up to 20 per checkout). Pick Cash or Bank and pay. The server then:

  1. Checks every item: offered in this shop, not locked, a hash for your gender, not already owned (buying the same design twice is refused), and room left in each zone.
  2. Charges the total once. If the player can't afford it, nothing happens.
  3. Stores every piece. If one insert fails, all of them are rolled back and the money is refunded.
  4. Pays the total to the shop's society account, if set.
  5. Fires np_tattoos:inked per piece, logs the purchase and toasts "Fresh ink: N piece(s) for $X".

New pieces start healing (see Healing & aftercare), except kinds turned off in Config.Healing.enabledFor. Each stored piece is a snapshot of label, collection and hashes, so owned ink survives later catalogue changes.

np_payments checkout ​

With np_payments running and Config.Payments = 'auto' (the default), the basket total, a laser session and a cover-up are paid in the np_payments checkout sheet, on top of the parlour. The player can pay from cash or any account they may use, and the parlour's Cash / Bank choice preselects the account.

  • Merchant np_tattoos:<shop id> with the shop's label, category service, one line per piece.
  • np_payments credits the shop's society account itself (step 4 above is skipped), or nobody without one.
  • If storing the ink fails after the payment, the money goes back through exports.np_payments:Refund.
  • Cancelling the sheet, or letting it expire, shows "Payment cancelled."; a failed payment shows the not-enough-money error. Nothing is inked.
  • addInk with free = false still charges through the framework bridge.
Config.Payments Behaviour
'auto' np_payments while it runs, else the framework bridge. An error from np_payments also falls back
true Always np_payments. Charges fail while it isn't running
false Never np_payments

Open a parlour from your own code ​

lua
-- client: open the nearest shop (within its radius); the server still checks the distance
exports.np_tattoos:openParlour()

-- server: open a shop for a player, without the distance check (e.g. a mobile artist van)
exports.np_tattoos:openParlour(src, 'vinewood')

openParlour(src) on the server without a shop id picks the nearest shop. See Exports.

Applying ink to the ped ​

Decorations only exist for the freemode peds (mp_m_freemode_01 / mp_f_freemode_01). The client applies every piece with AddPedDecorationFromHashes, repeated stacks(opacity) times, after clearing the ped's decorations. It re-applies when:

  • the server pushes your ink (login, purchase, healing, removal, …),
  • np_character loads a character or closes a store,
  • illenium-appearance, fivem-appearance, qb-clothing or skinchanger load a skin or outfit,
  • np_character, illenium-appearance or fivem-appearance restart,
  • the ped or its model changes (checked every second).

Other resources that clear decorations can call exports.np_tattoos:apply() afterwards.