Barsuk777

How does it work ?? .setDecoration

Recommended Posts

Hi, please tell me, I want to make a tattoo shop as I understand the key function here https://wiki.rage.mp/index.php?title=Player::setDecoration

I found all the tattoo collections https://github.com/root-cause/v-tattoos

 

I understand correctly? if you take a tattoo, then to install it on the Player you must specify in player.setDecoration (collection, overlay);

collection- is the name of the collection I take them from the name of the files on the github repository

overlay-  is a hash name as I understand it is different for each gender

----------------------  

 

This is a tattoo from the mpbeach_overlays collection.

{
    "Name""TAT_BB_019",
    "LocalizedName""Tribal Hammerhead",
    "HashNameMale""MP_Bea_M_Chest_000",
    "HashNameFemale""",
    "Zone""ZONE_TORSO",
    "ZoneID"0,
    "Price"5800
  },

--------------------

Now I need to install a tattoo on the male character player.setDecoration ('mpbeach_overlays', 'MP_Bea_M_Head_000');

 

I get an error Error Expected Number

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.