Skip to main content

Player::getDecoration

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.

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}