setPedTattoos
The setPedTattoos
export allows you to apply a list of tattoos to a ped and store them internally for later use. This is essential for preserving character identity, especially for freemode peds using custom tattoo layers.
How to Use
To apply tattoos to a ped, use the following code:
This export takes:
ped
: The ped entity to apply tattoos totattoos
: A table of tattoo entries, where each tattoo contains:collection
: The overlay dictionary namename
: The specific overlay name
Internally, this function saves the tattoos in PED_TATTOOS
for reuse (e.g., when switching hair or models) and applies them using the internal setTattoos
logic. It is designed to maintain visual consistency across customization changes.
Last updated