Skip to content

Stores ​

Every GTA-lore clothing store, each with its real logo, sells from the same catalogue. A store decides which slots and which labels it stocks, and its tier sets the price level. Players walk in, press E at the entrance prompt and shop on their own ped.

Binco

The store screen ​

  • Left: the store header (logo plate, area and street, opening hours, the clerk or a stylist on duty) and the slot grid: Glasses, Hats, Jewelry, Gloves, Watches, Bracelets, T-Shirts, Jackets, Pants, Shoes, Masks, Accessories, Bags and Vests, each with the store's stock count. Slots the store doesn't sell are locked.
  • Top: label chips (only the labels this store carries), Hide owned, sort by price or new, search (/), and "fits my current top".
  • Bottom centre: the piece strip, five pieces per page, with price, label logo and an owned tick.
  • Right: the cart, and below it the selected piece with its label, pack and colourway swatches.

Selecting a piece tries it on: the server puts it on your ped as a preview. The cart shows try-on active. Leaving the store, closing the screen or walking away without paying takes everything off again. The server ends the session 5 m outside the store's radius.

Buy & wear pays and makes the pieces your look. Buy to wardrobe pays and only adds them to your wardrobe. Pieces you already own can't go into the cart again.

Keys
← → Rotate your character
A / D, W / S, Q / E Previous / next piece, category, page
C Next colourway
Enter Add to cart
B Buy & wear
/ Search
Esc Close (the try-on is taken off)

Dressing room ​

Dressing room

The overlay at the bottom left of every clothing screen:

  • Cameras: Face, Torso, Legs, Feet, Full (Config.Camera.presets). Picking a category moves to the right one; the scroll wheel zooms.
  • A/B compare: Before shows the look you came in with, Trying on the try-on.
  • Poses: stand, hands up, walk, arms crossed (Config.Poses).
  • Lighting: daylight, store or night.

The lore stores ​

Store Tier Stocks Ships
Binco budget Every slot, unbranded and street labels Enabled: Textile City, Vespucci Canals
Discount Store budget Every slot, unbranded and street labels Enabled: Strawberry, Paleto Bay, Grapeseed, Harmony, Lago Zancudo
Sub Urban mid Bigness, Broker, Sweatbox, Trickster, Squash, Manor, Güffy, Blagueurs, Enema, Prolaps, Heat, plus unbranded Enabled (vanilla interiors)
Ponsonbys luxury Didier Sachs, Perseus, Sessanta Nove, Santo Capra, Enema, Le Chien, Pendulus. No masks, no vests Enabled (vanilla interiors)
Vespucci Movie Masks specialist Masks only Enabled
Crazee Fashion, Fashion Star mid Street and designer labels Disabled (example spot)
Get Shirty, J's T-Shirts budget / specialist Tops and T-shirts Disabled
Shore Feet Shoes specialist Shoes Disabled
Sports Gear specialist Prolaps, Heat and sportswear slots Disabled
Tidemarks, Vespucci Surfing, Bikini Universe specialist Beachwear slots Disabled
Vespucci Sunglasses specialist Glasses Disabled
Swap Meet counterfeit Knock-offs of the labels a fake imitates Disabled, no blip

The coordinates of Binco, Discount Store, Sub Urban, Ponsonbys and Vespucci Movie Masks are the vanilla interiors. The other stores have no vanilla interior: they ship enabled = false with an example spot for an MLO, a kiosk or a beach stand. Check the spot on your map before enabling one.

Stock rule. A store stocks a piece when its slots include the piece's slot, its labels include the piece's label (or it has labels = '*' and the piece is unbranded or a street label), the piece is not faction-only, and the piece is available (its pack is streamed and released, and it isn't hidden).

Prices ​

price = (piece / pack override) or Config.Prices.base[slot]
        × Config.Prices.tier[store tier] × Config.Prices.labelFactor[label tier] × store.priceFactor
        × (1 − sale)       → clamped to Prices.min … max, whole dollars

The same jacket costs more at Ponsonbys than at Binco, and Binco doesn't carry Didier Sachs at all. Overrides per piece or per pack are set in the pack manager. The server re-prices every cart line at checkout.

Paying ​

Checkout runs on the server under a lock:

  1. The beforePurchase hook can veto it.
  2. The money is taken. With np_payments running, its checkout sheet opens (cash, cards, company accounts) with the store as the merchant. Without it, the framework accounts in Config.Payment.fallbackAccounts are tried in order. Standalone (no economy) is free with Config.Payment.freeWithoutEconomy.
  3. The pieces are granted (or packed into a shopping bag, see Clothes as items), worn if you chose Buy & wear, logged, and a receipt is shown. With np_phone the receipt also lands in the phone's transactions.

If anything fails after the money moved, the granted pieces are rolled back and the money is refunded. With np_payments, the amount really refunded is checked against the payment (GetPayment). A refund that fails or comes back only in part is recorded as owed and paid at the player's next login, with a toast. A np_payments payment is never refunded a second time from framework money.

Ponsonbys: luxury extras ​

Ponsonbys

A store with kind = 'luxury' gets:

  • Certificate serials on pieces whose label tier is in Config.Store.serialTiers (luxury, watches).
  • Monogram embroidery for extras.monogram dollars per piece.
  • Financing: the inspector shows the monthly rate over extras.financing.months.
  • Client membership: after spending Config.Store.clientThreshold at the store, its client.discount applies.
  • Stylist: players can ask for a fitting. Staff of the store's staffJobs who are on duty get a notification and a waypoint.

Counterfeits ​

Swap meet

A store with kind = 'counterfeit' (the Swap Meet) sells cheap knock-offs: Poppin (fake Perseus) and Le Crew (fake Le Chien). Pieces are granted as fakes, without a certificate. The inspector shows what the real piece would cost. Fakes are tracked per colourway: owning a fake colourway doesn't stop you from buying the genuine piece at a real store, and buying the genuine colourway clears its fake mark.

Authenticity check. /checkfit checks the closest player within Config.Store.authDistance. Only on-duty members of Config.Store.authJobs (police by default) or staff of a luxury store may run it. The result lists every labelled piece the player wears, genuine or fake, with its serial.

Fake Genuine
Fake Genuine

Config.Counterfeits.enabled = false turns the swap meet and the check off.

Config ​

lua
Config.Store = {
  radius = 12.0, leaveMargin = 5.0, cartMax = 12, perPage = 5, tryOnCooldown = 250, newDays = 7,
  hoursOffset = 0, authJobs = { 'police', 'sheriff', 'lspd', 'bcso', 'sahp', 'fib' }, authDistance = 3.0,
  serialTiers = { 'luxury', 'watches' }, clientThreshold = 5000,
  bag = { label = 'Shopping bag', weight = 300, description = 'Clothes from %s' },
}

Config.Stores = {
  {
    id = 'binco', label = 'Binco', logo = 'stores/binco', tier = 'budget', kind = 'standard', labels = '*',
    hours = { open = 8, close = 22 }, blip = { sprite = 73, colour = 0, scale = 0.7 }, clerkModel = 's_f_y_shop_low',
    locations = {
      { coords = vector4(425.91, -801.03, 29.49, 177.79), area = 'Textile City', street = 'Sinner St.' },
    },
  },
  -- …
}
Field Description
id Unique id, used by openStore and in receipts
label / logo Name and logo (assets/logos/svg/<logo>.svg; store logos live in stores/)
tier budget, mid, luxury, specialist or counterfeit (Config.Prices.tier)
kind standard, luxury (extras above) or counterfeit
labels '*' (unbranded and street labels) or a list of label ids
plain A label list that still stocks unbranded pieces. Default true except for luxury and counterfeit stores
slots Slots the store sells. Default: every slot
priceFactor Extra price factor for this store
sale { label, discount } in percent
client / extras Luxury: { label, discount }; { monogram = $, financing = { months } }
staffJobs Jobs whose on-duty members are the store's staff (stylist calls, authenticity check)
hours { open, close } on the server clock (Config.Store.hoursOffset shifts it), nil = always open. A session ends at closing time
blip { sprite, colour, scale } or false
clerkModel Ped model for the clerk. An np_npchandler NPC. A location needs clerk = { coords } to spawn one
locations { coords = vector4, radius?, area, street, clerk? }: the fitting spot inside the store
enabled false hides the store
Config.Store Description
radius / leaveMargin Default radius of a location, and how far outside it the session ends
cartMax Lines in one cart
perPage Pieces per strip page
tryOnCooldown Milliseconds between two try-ons
newDays "New this week": pieces first seen this many days ago
hoursOffset Hours added to the server clock before opening hours are checked
authJobs / authDistance Who may run /checkfit, and how close
serialTiers Label tiers that get a certificate serial at a luxury store
clientThreshold Dollars spent at one luxury store before its client discount applies
bag Label, weight and description of the shopping bag item

Other resources can add stores at runtime with registerStore. They use the same shape and are removed when that resource stops. Player-owned stores are not part of v0.1.0; registerStore is the way in.