rcore.cz
  • rcore.cz
  • Store
  • Discord
  • Web administration
  • Our store
  • YouTube
  • 🐌CFX Auth system
    • CFX Auth system
    • Transfer script to another account
    • Error: You lack the required entitlement
    • Error: syntax error near '<\1>'
  • Server
    • Updating server
    • onesync
  • Administration
    • How to change IP
    • Forgot your password?
  • FAQ
    • General issues
    • Cannot verify license
    • Cannot hear any music
    • ECONNRESET: Unable to execute a query
  • paid resources
    • 🏑rcore_airhockey
      • How To Play
      • Spawning a Hockey Table
    • 💪rcore_armwrestling
      • How to place arm table
    • 🎴rcore_banners
      • How to Begin
      • How to Update
      • Common issues & solutions
      • Installation
      • Inventory Items
      • Configs
        • General
        • Billboards
        • Business
        • Permissions
        • Job
        • Config
      • Guides
        • How to change UI logo?
        • How to create new server banner?
        • How to create business?
        • How to buy billboard?
        • How to place banner?
        • Cannot see banners?
        • Expired images
      • API
    • 🏀rcore_basketball
      • Configure new hoop
    • 🏓rcore_beerpong
      • How to use
    • 📹rcore_bodycam
      • Integration
      • Anticheat
      • Recordings don't save
    • 🎳rcore_bowling
      • Configure new alley
    • 🎥rcore_cam
      • Integration
      • Anticheat
    • ⛺rcore_camping
      • Installation
      • Config
      • Consumable Beer
      • OX Inventory
      • Frameworks
      • API
    • 🎪rcore_carnival
      • Create new minigame
    • 🃏rcore_casino
      • Installing Maps
        • UncleJust Casino
        • DlcIplLoader
        • Gabz Casino
        • NoPixel Casino
        • K4MB1 Casino
        • rcore_casino_interior
        • Underground Casino Paleto
        • K4MB1 Enterable Diamond Casino
        • Patoche Casino
        • Clawles: Casino Los Santos
        • Molo Casino
        • Jurassic Jackpot Casino
      • Standalone Version
      • Custom Framework
      • Installing on QBCore
      • Installing on ESX
      • Installing Inventory Items
      • The Cashier
      • Society
      • Lucky Wheel & Podium Vehicle
      • Table Games
      • Slot Machines
      • Casino Bar
      • Inside Track
      • Translations
      • Discord Hook
      • MYSQL Info
      • CasinoControl (Exports)
      • Casino Job & Office
      • Changing Odds
    • 👕rcore_clothes
      • Dark theme
      • Adding a new clothes shop
      • Components
      • Restriction for certian job
      • Custom clothes price
      • Clothes blacklist / Whitelist
      • esx_accessories
      • qb_apartments
      • cui_character
      • API: Open outfits
      • API: Open clothes shop
    • 🎽rcore_clothing 🆕
      • How to begin
      • Installation
      • Migration
      • Configs
        • Main config
        • Price config
        • Shop config
        • Peds config
        • Undress clothes
      • FAQ
      • Admin mode
        • Modes
        • Image debugging
        • Stock management
      • Adding replace/addon clothes
      • Categorize clothing automatically
      • API
      • Troubleshooting
      • Integration
        • Multichar integration guide
        • esx_multicharacter
        • esx_multicharacter OLD
        • qb-multicharacter
        • crm_multichar
        • codem_multichar
        • okok_multichar
        • qbox_multichar
        • ESX vms_multichar
        • QB vms_multichar
        • qs-multicharacter
        • um_multichar
        • wais_multicharacter v2
        • zr_multichar
        • zsx_multicharacter
    • 💃rcore_dance
      • Installation
      • Config
      • FAQ
      • Troubleshooting
      • API
    • 📱rcore_dispatch
      • Config
      • Add alerts
      • Add jobs
      • Locales
      • Logs
      • Integrations
      • Framework
      • Voice and radio
    • 🔒rcore_doorlock
      • Installation
      • Configuration
      • Migration
      • Business
        • Configuration
        • Locksmith Example
      • Inventory Items
      • Keychain
      • API
    • 🍺rcore_drunk
      • How to place drink on table
      • Create new item drink
      • ox inventory
      • API
      • How to use
    • 🥚rcore_easter
      • Installation
      • Configuration
      • API
    • ⛽rcore_fuel
      • Installation
        • ESX
        • QBCore
      • Inventory
        • ESX
        • QBCore
        • ox_inventory
      • Config
        • New fuel station
        • Change fuel type for vehicle
        • Change fuel capacity for vehicle
        • Setting fuel station to be ownable
        • Wrong fuel type
        • Change gas price
      • Integrations
        • API
        • Vehicle keys integrations
        • Hud/Garage integration
      • Server
        • Commands
    • 🔫rcore_gangs
      • API
        • Client
        • Server
      • Integration
        • Framework
        • Inventory
        • Dispatch
      • Localization
      • Configuration
        • Custom gang zone
    • 🚙rcore_garage
      • qb-phone missing garages name
      • missing screenshots
    • 📙rcore_guidebook
      • Installation
      • Config
      • Data permissions
      • API
      • Themes
      • 📙V1 Docs
        • Installation
        • API
        • Themes
    • 🔫rcore_gunshop
      • QBCore Installation
      • ESX Installation
      • How to change pricing
      • How to enable sales of weapons
      • Enabling MK2 weapons on QBCore
      • Adding the ammunation job for QBCore
      • Adding the ammunation job for ESX
    • 🎯rcore_gunrange
      • Installation
      • API
      • Troubleshooting
      • Frequently Asked Questions
      • Gun Range Editor
    • 🏨rcore_hotel
      • How to add another hotel example
      • esx_inventoryhud
      • Quasar inventory
      • OX inventory
      • MF inventory
      • Custom wardrobe
    • 🧑rcore_identity
      • How to change date format
      • esx_kasharacter
    • 🟠rcore_job_blips
      • Installation
      • Configuration
      • Blip Setup
      • Group Setup
      • API
    • ⛳rcore_minigolf
      • Builder
      • Company
      • Config
    • 🚛rcore_missionpack_legal
      • Migrate from old version
    • 🚗rcore_pdm
      • Missing images
      • Blips on minimap
      • Vehicles in stock
      • Missing vehicle names
      • Edit the speed of the vehicle in UI
      • Boss menu + locations
      • Displayed vehicle in the shop
      • How to add a vehicle with a new category
      • QBCore
        • Import missing vehicles from qbcore to rcore_pdm
        • Job data for QBCore framework
        • Import vehicles from database to qbcore
    • 🏓rcore_pingpong
      • How To Play
      • Spawning a Pong Table
      • Match Settings
    • 🤽‍♀️rcore_pool
      • Anticheat
      • How to place pool table
    • 👮rcore_police
      • Installation
      • How to Update
      • Features
      • Inventory
      • Deployer
      • Configs
        • Main Config
      • API
        • Client
        • Server
    • ⛓️rcore_prison
      • Migration from V1
      • How to Begin
      • How to Update
      • Installation
      • Inventory items
      • Configs
        • Main Config
      • Guides
        • Deployer
        • Changing minigame for Cigarette packaging
        • Changing Prison jobs reward
        • Configuring Permissions
        • How to translate in-game panel
        • How to define own stats for Prison GYM?
        • How to define/change default Prisoner outfits?
        • How to define own Prison map?
      • Features
        • Prison Break
        • Solitary
        • Cigar packaging
        • Canteen
        • Dealer
        • Dashboard
        • Chair system
        • Prison Prolog
      • Integrations
        • Inventory
        • Inventory items
      • API
        • Client
        • Server
      • ⛓️V1 Docs
        • Config
        • Inventory
        • API
          • Client
          • Server
        • Locales system
        • Interiors presets
        • Camera prolog
        • Outfits
    • 📻rcore_radiocar
      • API
        • Radio item
        • Marker for buying radio
    • 📋rcore_report
      • Installation
      • API
      • Ace Permissions
      • Config
      • UI Config
      • Features
      • Console Logs
      • Custom Data
      • Responsivity
    • 🏪rcore_shops
      • Add new shop
      • How to add weapon
      • Hide blip on minimap / map
      • Restrict shop to certain job
    • 🔠rcore_shortcuts
      • API
      • Commands and Hotkeys
      • Permissions
      • Notifications
      • Limits
      • Styles
    • ✨rcore_spray
      • ESX instalation
      • QBCore instalation
      • OX Inventory instalation
      • How to add a new image
      • How to add a new font
      • Gang integration
      • Anticheat
    • 📈rcore_stats
      • Installation
      • Permissions
      • Configs
        • Main config
        • Performance
        • Units
        • Other
      • Translation
      • Changing Default Values
      • API
        • Integration
        • Delete
        • Other
    • 👹rcore_tattoos
      • Installation
      • Migrations
      • Add-on tattoos
      • Config
      • Custom Framework
      • Design
      • Tattoo config options
      • Tattoo permissions
      • Troubleshooting
      • API
      • Integrations
        • qb-gangs
      • Business update
        • Config
        • Simple Business
        • Business with jobs
        • Default settings
    • 📺rcore_television
      • How to add a new television
    • 🔧rcore_tuning
      • Editing your config
      • Configuring your framework
      • Job integration
      • Item integration
      • Editing tuning prices
    • 📋rcore_whiteboard
      • Whiteboard type & data
      • Position editor
      • API
      • FAQ
    • 🎁rcore_xmas
      • Installation
      • Configuration
      • Inventory Items
      • Snowball Damage
      • API
    • 📻xradio
      • API
      • Custom menu
      • Ox inventory
  • free resources
    • rcore_arcade
      • How to add msdos games
Powered by GitBook
On this page
  • Debug
  • Framework
  • Tattoo Lists
  • Tattoo shops
  • Blips
  • Markers
  • Preview shop
  • Only specific body part
  • Tattoo file filter
  • Job restricted shop
  • Special functions
  • Henna tattoos
  • Animation and teleport
  • Naked part ID
  • Payment types
  • Price Multiplier
  • Disable tattoo removal
  • ❗ Experimental
  • Events

Was this helpful?

  1. paid resources
  2. rcore_tattoos

Config

PreviousAdd-on tattoosNextCustom Framework

Last updated 1 year ago

Was this helpful?

You can change individual values in config.lua

Debug

If you see anything wrong and you would like to know more, for example to show in support ticket, you can set Config.Debug = true to see more debug info in client (F8) console ingame, or server console.

Framework

Most important thing to do after opening config, is to set your framework, otherwise script won't work correctly.

You can choose from these frameworks:

Frameworks.ESX
Frameworks.QBCORE
Frameworks.STANDALONE

To add your own framework, you will need to make a framework integration, more .

Frameworks.STANDALONE

This option is purely for people who don't know how to implement their own framework and still want to use some key functions of this script.

However, these features won't work without making your own integration:

  • Anything money related

    • Players will be able to buy all tattoos for free

    • Adding money to business will always work even if player has 0 money

  • Anything job related

    • Job permitted tattoos, Business with society/job

    • Players will all have job unemployed

  • Business with job (society)

    • You can still use freely as it is standalone!

And this is how you set it in config:

Config.Framework = Frameworks.ESX

Tattoo Lists

In the Config.TattooLists you can check which tattoos will your server support and add your own. Listed files are located at assets/tattooLists/, or at path you set to Config.TattooListsPath.

Config.TattooLists = {
    "BaseTattoos.json",     -- Default GTA tattoos
    "AddonTattoos.json",    -- Addon tattoos
    "DLC_mpvinewood.json",  -- Old DLC - should be supported by default
    "DLC_mpheist3.json",    -- Old DLC - should be supported by default
    "DLC_mpheist4.json",    -- Gamebuild 2189 or higher
    "DLC_mpsecurity.json",  -- Gamebuild 2545 or higher
    "HairFades.json",
}

Tattoo shops

Config.Shops contains all tattoo shops in GTA that you can customize or add your own to.

All you need to create a tattoo shop is to provide it the location you want it at.

{
    pos = vector3(1323, -1652, 52.8),
    marker = Config.DefaultMarkerSettings
},

However you can customize it even more by changing the blip and marker settings

Blips

Blip (on map) can be hidden, if you don't want to show the tattoo shop on map, simply don't set blip for particular shop. Useful for gangs etc. To use default blip, set blip = Config.DefaultBlipSettings.

DefaultBlipSettings can be configured in the config too.

To set custom blip for an individual tattoo shop, you can write it like this:

{   -- Tattoo shop with custom blip
    pos = vector3(322.8, 180.8, 103.6),
    blip = {
        name = 'Ink shop',
        options = {
            color = 11,
        }
    },
    marker = Config.DefaultMarkerSettings
},

Markers

Markers are the floating texts/icons shown in-game to open the tattoo menu.

Same as blips, to use a default marker, simple set marker = Config.DefaultMarkerSettings.

To set a custom marker for an individual shop, you can write it like this:

{   -- Tattoo shop with custom marker
    pos = vector3(-1153, -1425, 5.3),
    blip = Config.DefaultBlipSettings,
    marker = {
        text = 'Click E',
        distance = 2
    }
},

Preview shop

Preview shops are only for browsing tattoos, players can't buy tattoos there.

{   -- Preview for customer to choose from
    onlyPreview = true,
    pos = vector3(1863.5, 3750.9, 33),
    marker = {
        text = '📖',
        distance = 3,
    }
},

Only specific body part

  • body parts: head, body, left_arm, right_arm, left_leg, right_leg

{   -- Tattoo shop with only one specific body part menu
    specificPart = "right_arm",
    pos = vector3(324.2, 179.7, 103.6),
    marker = {
        text = '💪',
        distance = 3,
    }
},

Tattoo file filter

In the Business Update we added new option to add a fileFilter to each shop you set up. But what is it really?

If you take a look at Config.TattooLists, you will see all files that you load your tattoos from. Well now you will be able to add a tattoo file only for certain shop meaning you can have a shop dedicated to only certain tattoos! How? Let's see!

The file also needs to stay in Config.TattooLists to load properly!

{   -- Tattoo shop with only one specific body part menu
    pos = vector3(324.2, 179.7, 103.6),
    blip = {
        name = 'Movie Tattoos',
    },
    marker = Config.DefaultMarkerSettings,
    fileFilter = {
        "harry_potter_tattoos.json",
        "avengers_tattoos.json",
    }
},

Job restricted shop

There is also an option for a shop to be only accessible with certain job (and grade). If you want a shop to be only visible for certain jobs, use visibleForJobs for the particular shop.

  • You can restrict it for as many jobs as you need, see example.

  • You can also enable it only from certain job grade (see police job in example), if no grade is set, it will be available for all job grades.

Example:

{
    pos = vector3(-3170.1, 1076.2, 20.8),
    blip = Config.DefaultBlipSettings,
    marker = Config.DefaultMarkerSettings,
    visibleForJobs = {
        {
            name = 'police',
            grade = 1, -- available only from grade 1 and up
        },
        {
            name = 'taxi',
        },
    },
}

Special functions

Henna tattoos

You can set the henna tattoo duration (the time until tattoo dissapears, if henna is used for it) at Config.HennaTattooDuration. Default is 2 (real-life days).

Same as in opacity, you can set additional price for henna tattoo Config.HennaAdditionalPrice.

Animation and teleport

  • Config.EnableShopEnterAnimation and Config.ForcePlayerShopPosition

  • possible values: true/false

Combinations:

  • Both true - Player will walk to certain shop coordinates and take of his clothes with an animation. (✨fancy animations✨)

  • Only EnableShopEnterAnimation - Player will stay at the place they open the shop at and take of clothes with an animation.

  • Only ForcePlayerShopPosition - Player will be teleported exactly at the shop position set in config and take off their clothes immediately without playing animation (fastest way, but players will be stacked in one spot)

  • Both false - Player will stay at the place they open the shop and take off their clothes immediately without animation (fastest and good for more players at one shop)

Naked part ID

If the player doesn't have only underwear after entering the shop, you can change the default "naked" body part IDs at Config.NakedPartsIds.

Payment types

In Config.MoneyAccountTypes you can determine which accounts should the script check when buying a tattoo.

  • accounts will be checked in the order you write them

  • Example: Config.MoneyAccountTypes = {"cash", "dirty_money", "bank"} - cash will be checked first, then dirty_money etc...

Price Multiplier

Config.PriceMultiplier = 1.0

You can simply adjust price of all tattoos by changing this multiplier, deafult = 1.0 (=no price change)

Example: All tattoos with price 300 will cost 600 if PriceMultiplier is set to 2.0 (2x)

Disable tattoo removal

Config.DisableTattooRemoval = false

If true, players won't be able to remove their tattoos in the shop (remove button won't be visible). Can be used for example for roleplay where doctors remove tattoos.

❗ Experimental

Here you can find adjustable values for config, that are not there by default, but can be set by you, if needed. This category exists mostly for developers who know what they are doing and what those values mean.

If you change these values and something stops working, be sure to check what you set, before seeking support :)

If you want to edit any of those values, go to config.lua and add them at the very last line of the file.

  • Config.PPIDCheckTime - value in miliseconds, default is 3000 (= 3 sec)

    • there is a loop to check for change of player model id (e.g. while logging in and changing ped in skin changer) and applying their tattoos

    • this value changes how often is the loop called, it is made editable if you want to change the loop waiting time for any reason

  • Config.JobReloadDelay - value in miliseconds (e.g. 3000 = 3sec)

    • if defined, player job and markers will be reloaded after set delay

    • can be used if some scripts load player later and you need to restart script to show business bossmenu markers

  • Opacity

    You can set the default opacity ranging from 1 to 5 at Config.DefaultOpacity, default is 1. Further more, you can set an additional price for each opacity level Config.OpacityAdditionalPrice

    If you set for example Config.OpacityAdditionalPrice = 100, tattoo costing $500 will cost $800 if player sets opacity to 3. (+3 * 100)

Events

You may have noticed file config_events.lua. This file is used only in case our script has some errors regarding ESX/QBCore events.

Some servers tend to rename crucial scripts to their server name, for example esx_society to kitty_society, which then causes many errors in all scripts that rely on the name esx_society. Don't do this please, it takes credit from authors of those scripts and it just looks dumb.

If for any reason you did this to any script our script depends on (esx framework, qbcore framework, qbcore bossmenu..), take a look into file mentioned above and read instructions in there to configure event names.

Example: Let's say you renamed esx:setJob to kitty:setWork, but our script has no clue you did that, as we can't access your server files. You will have to go to config_events.lua and rename the event there like this:

Config.Events = {
    ... -- some other events here
    ["esx:setJob"] = "kitty:setWork",
}

More info about here.

This type of shop will display only menu for a specific body part. Main usage is for to open the menu from anywhere and with specific body part, if needed.

The functionality is exactly the same as

👹
💼
here
Simple business
Game builds
API
Tattoo Permissions