Player::getDecoration

From RAGE Multiplayer Wiki
Revision as of 06:40, 19 February 2020 by Kar (talk | contribs) (Created page with "This function gets the tattoo (decoration) from a collection specified. == Syntax == <pre> player.getDecoration(Hash collection) </pre> List of Collections = https://github....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function gets the tattoo (decoration) from a collection specified.

Syntax

player.getDecoration(Hash collection)

List of Collections = https://github.com/root-cause/v-tattoos

Example

This example get ped decoration.

Server-Side
const
	decoration = player.getDecoration(4292880523) // aka mpBusiness_overlays (mp.joaat('mpBusiness_overlays'))
;

console.log(decoration);

See also