Skip to content

Tattoo shop ​

The tattoo shop sells the game's tattoos, priced from their GTA Online price (× priceFactor, 0.25 out of the box), your server's addon tattoos and the hair fades, by body zone. While a player is in the shop, their clothes come off so the skin shows. When they leave, the clothes go back on.

It's for the freemode characters, the man and the woman.

The entrance ​

The tattoo shop's entrance: the whole body from the front, a dot and a name on each zone and a card for each zone
The entrance: each zone has a dot and its name on the body, and a card that says how many designs it has and how many the player wears.

The shop opens on the whole body, seen from the front. Click a zone's card, its dot or its name on the body, or its number key. Each zone has the same number everywhere, on the cards, the list's tabs and the keys: 1 Head, 2 Fades, 3 Torso, 4 Right arm, 5 Left arm, 6 Right leg and 7 Left leg. Each dot has the zone's name beside it; pointing at one shows the zone's number and how many designs it has. Your tattoos shows everything the player wears, from every zone. When your server has addon tattoos, All or From packs at the top shows every design or only the addon ones. With changes not paid yet, Buy (B) pays without leaving the entrance.

The first time the entrance shows in each opening, a short tour lights up each zone in turn; the first touch stops it. Each zone's card also says what its designs cost, from $X. Esc or the ✕ with changes asks first: the purchase opens over the list, or You have unsaved changes when the changes are free (Keep editing goes back to the entrance). See Leaving with changes.

Choosing a tattoo ​

The torso tattoos: the zone chips, the chosen design big at the top, and cards with their pictures, names and prices

Each zone lists its tattoos with their picture, name and price, and the pack under addon ones. Names come without the pack's prefix, and a name that is only a number shows as Tattoo #004. Tags say Owned, Trying on or Removing, and dots show a design's intensity. Click one to try it on.

The chosen one also shows big at the top, with its price, its Intensity, ◀ ▶ to the previous and next design, and n / total next to the heart. Each cost shows where it's decided: Take it off (Take it off · $X when removing has a price), Lightening it: $X, +$X per layer or Free. From 80 % of the skin used, a meter says how much ink still fits (N layers left).

  • Search by name or pack. With no match, Also in: shows the other zones that have it.
  • All, From packs (when your server has addon tattoos) or Worn filters the list. Collections, Favorites only and Sort narrow it down.
  • ‹ Zones goes back to the entrance.
  • The zone chips at the top, with their names, switch zones, and show how many tattoos the player wears in each.
  • When a design goes on the back or on one side, the camera turns there by itself. See the back turns it by hand.

Darker layers ​

The game has no opacity for tattoos, so a darker tattoo is the same tattoo put on again. Intensity adds or takes away layers, up to Config.Tattoos.maxLayers (4 by default). Each extra layer costs a part of the tattoo's price (layerPercent, 25% by default). The darker shade shows on the player's own screen: the others see each tattoo with one layer (see What other players see). Each layer is also one of the 63 drawings a character can show.

Tattoos on top of each other ​

A tattoo can go over another one, and both stay on. Players can combine designs in the same place.

Removing a tattoo ​

The first click on a tattoo the player owns only shows it at the top. Take it off (or a second click) marks it to be removed, and Keep it undoes that. Removing a tattoo, or lowering its layers, is free out of the box. To charge for it, turn off Taking a tattoo off is free in the panel (Tattoos → Prices) and set the price under it; then the button shows the price. See Prices.

Turning extras off ​

Each extra of the shop can be switched off in Config.Tattoos.ui: the keys, the favorites, sorting, the chosen design at full resolution, See the back, the entrance's guide, the skin meter, the zone names on the body and the camera turning by itself. See Config reference: tattoo shop.

Which tattoos show ​

  • The game's tattoos come with their GTA Online price and their names in English and Spanish. Only the ones your server's game build has are shown.
  • Your addon tattoos, from packs that load a PED_OVERLAY_FILE, show up on their own, by zone.
  • Hair fades are tattoos of the head, in their own zone.

Each tattoo shows a picture. The game's tattoos show their own picture. For addon tattoos, the server can make a small picture of each one: in the panel, Tattoos → Images, or the console command zappearance_tattoo_images. Then run ensure zaiders_photos so players get them. See Catalog photos.

Addon tattoo packs ​

Any addon tattoo pack works, with nothing to set up in ZAIDERS Appearance:

  1. Put the pack in resources and add ensure with its folder name to server.cfg.
  2. Restart the server. The shop lists the pack's tattoos by zone, and From packs shows only them.
  3. Optional: make their pictures in the panel (Tattoos → Images), then ensure zaiders_photos.

The shop reads what the game loads: the overlay files that the pack's fxmanifest.lua (or __resource.lua) loads with data_file 'PED_OVERLAY_FILE'. Every addon tattoo pack has them, and patterns such as 'xml/*.xml' or 'data/**.xml' work. The game names each collection after the <nameHash> that follows </presets> in that file, not after the file. A file without it loads, but none of its tattoos can be put on, so they stay out of the shop and F8 says the game does not have collection .... The shop reads that same <nameHash>, so a pack whose file isn't named like its collection works too. Only started packs count. A stopped pack's tattoos leave the shop, and players keep them saved for when it comes back.

Every player needs the same packs, which happens by itself because they all download them from your server. A tattoo from a pack that a player's game didn't load can't be shown on that player's screen.

Names and pack ​

A tattoo's name comes from the pack's own tattoo shop file (TATTOO_SHOP_DLC_FILE), when the pack has one and registers its names. Otherwise the shop shows its preset name. A pack can also add two lines to its fxmanifest.lua:

lua
tattoo_pack_name 'My Tattoos'        -- what the shop calls the pack (else its collection, made readable)
tattoo_renames 'data/renamed.json'   -- the names its tattoos had before: saved ones move to the new names

renamed.json is { "renames": [["old collection", "old preset", "collection", "preset"], ...] }. An old name only moves when its collection is no longer loaded, so a player who bought a tattoo under its old name keeps it. The panel's own price and out-of-stock mark of a renamed design move with it too (saved under the new name the next time the panel saves). Players' favorite hearts don't move: they mark the renamed designs again.

Packs from other stores ​

Tattoo packs from other stores, or made by players, work as they come, with no change to their files, also without the game's tattoo shop file (TATTOO_SHOP_DLC_FILE):

  • Readable names. The pack shows with its own words (inkstore_overlays → Ink Store), and each design without the pack's prefix or a leading word that only says it's a tattoo (ink_store_tat_012_M → Tattoo #012). A name the pack gives a design itself shows as it comes.

  • The right side. The camera turns to the side each design goes on, worked out from where the design sits on its zone, the way the game's own designs sit: a design on the back shows the back.

  • UTF-16 files. Overlay files saved as UTF-16 are read, as well as UTF-8.

  • A misspelled sex. A design whose sex the game doesn't know takes it from the end of its name (_M / _F). When it can't, the design stays out of the shop, and the server console says how many designs of which pack, and why, each time the packs are read:

    text
    [zaiders_appearance] addon tattoos: N designs of <pack> have a sex the game does not know (<value>) and their name does not end in _M or _F: they stay out of the shop

    A design with no body zone the shop knows stays out too, with its own line (... have no body zone the shop knows (<value>): they stay out of the shop).

Prices ​

TattooPrice
The game'sIts GTA Online price × priceFactor (0.25: a $10,000 tattoo costs $2,500). maxPrice sets a ceiling.
Addon, or the game's without a priceaddonPrice: 'auto' uses its zone's typical price × the factor, or set a number.
Hair fadesfadePrice ($120).
Each darker layerlayerPercent % of the tattoo's price.
Removing, or lowering layersFree out of the box (Taking a tattoo off is free in the panel, removePrice = 0). Off, the price under the switch.

All of this can be changed in the panel: Tattoos → Prices has one rule per zone (Game price × a factor, or Fixed) and shows the range of prices it gives. Tattoos → Tattoos sets each tattoo's own price and stock, many at once with the checkboxes. Everything free makes the whole shop free. Taking a tattoo off is free (on out of the box) makes only removing and lightening free: turn it off to charge the price under it. See ZAIDERS Studio.

If removing a tattoo still costs $150

The panel saves all its tattoo prices together. If yours ever saved them (a zone's price, a stock mark, the layers), it kept the removal price it showed then, and keeps charging it. To make removal free, turn on Taking a tattoo off is free in Tattoos → Prices and save. An older config.lua you put back after updating can still have removePrice = 150: set it to 0 there, or turn the switch on and save.

A tattoo shop with its own percentage in the panel (Shops → the shop → Catalog and prices) charges every tattoo, darker layer and removal at that percentage.

The panel's tattoo prices: one card per zone, the general settings and the pictures
The panel's tattoo prices.

Out of stock ​

A tattoo out of stock isn't sold and can't be put on. A player who already has it still sees it, marked, and can remove it.

Saved tattoos ​

Bought tattoos are saved in the zaiders_tattoos table, which is created by itself. They go on when the character joins, and again whenever another script changes the ped. This works on any framework, whatever resource loads the clothes.

The tattoos a character had before come over by themselves the first time they enter with no tattoos saved here (Config.Tattoos.importFromLooks): the ones another tattoo resource kept in its own table (the first one in the factory Config.Tattoos.owners list), with the layers it drew them with, or else the ones illenium-appearance or fivem-appearance kept inside the saved look, with their darkness as layers. Every design comes, even one that is out of stock or from a pack that isn't started: it shows once its pack is there. zappearance_migrate tattoos confirm brings everyone's at once. On ESX with esx_skin, the ones in the saved looks only come with that command: run it right after installing. See Coming from another menu.

A copy of each character's tattoos is kept inside their saved look, so a character screen that shows saved looks shows the tattoos too (Config.Tattoos.inSavedLook).

What other players see ​

In short

  • The game itself sends the others what each player wears: each design once, without the darker layers. A character shows at most 63 drawings, each layer included.
  • Each player sees the tattoos and fades of up to 32 other players around them (according to the game's code; not yet measured with a crowd).
  • Addon tattoo packs push some GTA DLC designs out of the game's shared list. With a pack that ships fade copies, such as ZAIDERS Tattoos 1.0.4, this shop puts the copy on (fadeCopies), so every fade still reaches the others.
  • When another script takes a player's tattoos off, this shop puts them back on that player's own character (sync). It never touches another player's character.
  • After adding, updating or changing a tattoo pack, restart the whole server.

Everything else, with the server.cfg line and what to do when something looks wrong: What other players see (tattoos and fades).

Using another tattoo resource ​

  • Config.Tattoos.enabled = false turns this tattoo shop off.
  • If a resource from Config.Tattoos.owners is running, the shop turns itself off with no change on your part. Its shops leave the map, nothing is sold, and saved tattoos aren't put on, so the two never clash. The panel's Tattoos section and the server console say which resource took over. Stop that resource and the shop comes back.
  • The list comes with rcore_tattoos, qb-tattooshop, esx_tattooshop, xnTattoos, illenium-appearance, fivem-appearance and bl_appearance. If your tattoo resource runs under another folder name (for example illenium-appearance-main), add that name. vMenu isn't on it on purpose: on most servers it's an admin menu, and listing it would turn this shop off everywhere.

With the shop off or with another tattoo resource, that resource puts on the tattoos and the hair fades, and puts them back after another script took them off: only one script should do it. Config.Tattoos.sync still turns on the stable order.

When this menu changes the player's model for good, it fires zaiders_appearance:modelChanged, so the other resource can put its tattoos back on the new ped. On ESX, while skinchanger isn't running, it also fires skinchanger's own skinchanger:modelLoaded, which ESX tattoo shops already listen to.

Support for Zaiders Store FiveM clothing packs and scripts.