Player::getDecoration

From RAGE Multiplayer Wiki
(Redirected from Player::getDecoration s)
Jump to navigation Jump to search

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

Syntax

player.getDecoration(Hash collection, Hash hash)

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

Example

This example get ped decoration.

Server-Side
const
	decoration = player.getDecoration(4292880523, mp.joaat('FM_Tat_F_004')) // aka mpBusiness_overlays (mp.joaat('mpBusiness_overlays'))
;
console.log(decoration); // {"collection":598190139,"hash":false}

See also