Tattoo config options

Each tattoo has its own settings.

As you can see in Config, there are different tattoo list files.

Each file contains the same tattoo structure, but we use them to make it more clear.

Each tattoo has it's on settings, let's take a look at that.

{
    "collection": "mpairraces_overlays",
    "hashFemale": "MP_Airraces_Tattoo_001_F",
    "hashMale": "MP_Airraces_Tattoo_001_M",
    "permissions": {
      "jobs": [
        {
          "name": "police",
          "grade": 1
        },
        {
          "name": "taxi"
        }      
      ],
      "identifiers": []
    },
    "name": "TAT_AR_001",
    "price": 300,
    "zone": "ZONE_TORSO"
},
  • collection: the DLC collection of current tattoo

  • hashFemale: the hash name for female ped

    • if left blank, it won't show up in the menu, if player has a female ped

  • hashMale: the hash name for male ped

    • if left blank, it won't show up in the menu, if player has a male ped

  • permissions:

    • jobs - If you want to have a tattoo available only for a specific job, you can set it here

      • name - name of the job

      • grade - From which grade you want the tattoo to be available (not required, blank = all grades)

    • identifiers

      • If you want to have a tattoo available only for specific players, you can add their identifiers here. You have to put in the identifier type you have chosen in Config.LicenseType

      • Example for Config.LicenseType = license identifier: "identifiers": ["db23123ab0e32134c2eeaacasv123456", "..."]

      • Make sure to use double quotes ", otherwise it won't work!

  • name: Name of the tattoo, that will be shown in the shop

    • We recommend to set this name once and never change it later, as it is used in the database

    • Instead you can change displayed tattoo namem, learn how below

  • price: Tattoo price in your servers currency

  • zone: Zone on the players body to display the tattoo at

Available zones:

    'ZONE_HEAD',
    'ZONE_TORSO',
    'ZONE_LEFT_ARM',
    'ZONE_RIGHT_ARM',
    'ZONE_LEFT_LEG',
    'ZONE_RIGHT_LEG'

Change tattoo name

To change a tattoo name, you can simply go to locales\tattooNames.lua and add your desired tattoo name there.

To set a tattoos custom display name, you have to first write it's name set in the config and then the name you want to display in the menu.

['TAT_BUS_005'] = 'Cash king',

we highly encourage you to use only this way to change the displayed tattoo value!

If you set a name in the tattoo list, some player will buy it and you will then change the tattoo list name, they won't be able to load it from database as we use tattoo names as a primary data.

Last updated