Closed s0u007 closed 2 years ago
Hey! You need to pass and object, not an array with a object. The set function is a void so doesnt return anything. If you need to make this code works, try this:
exports['fivem-appearance']:setPedComponent(PlayerPedId(), {drawable = 6, component_id = 4, texture = 0})
I dont understand the question "also how can I update my version with lua files ?", could you explain a bit more? Really ty!
That's a lot it is working. Explaing I have and older verios without tattos and stuff. I downlowded it from some with ready lua files and now I want to update this script without making lua part again. I want to get the tattoo option the most
If you have downloaded from another site, its hard to make it work with current version of this script. I recommend that you download the current version (1.3.1).
So waht should I do now, because I don't start again with lua files
If you want to use this script, you just need to use the exports, dont worry about languages, it will work on lua
, ts
, js
, c#
files. If you have other version, you could replace with this.
If you want to modify this script, then you will need to download the source, and make your modifications.
ok that helps a lot that you very much for support
Hi how can i use setPedComponent ? I have this code:
and I am getting print saying nil
also how can I update my version with lua files ?