PedClient

getPedDecorationZoneFromHashes

GET_PED_DECORATION_ZONE_FROM_HASHES0x9FD452BFBE7A7A8B

The GTA V native GET_PED_DECORATION_ZONE_FROM_HASHES of the PED namespace, as LS:MP client scripts call it: the global function getPedDecorationZoneFromHashes, in JavaScript and in Lua.

SignatureJavaScript
getPedDecorationZoneFromHashes(collection: Hash, overlay: Hash): number
SignatureLua
getPedDecorationZoneFromHashes(collection: Hash, overlay: Hash): integer

Usage

JavaScript
const result = getPedDecorationZoneFromHashes(collection, overlay);
Lua
local result = getPedDecorationZoneFromHashes(collection, overlay)

Parameters

ParameterTypeJavaScriptLua
collectionHashnumberinteger
overlayHashnumberinteger

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Reference

Namespace
Ped PED
In the game
int GET_PED_DECORATION_ZONE_FROM_HASHES(Hash collection, Hash overlay)
Hash
0x9FD452BFBE7A7A8B
Formerly
_GET_TATTOO_ZONE

Open in the interactive natives reference