getPedDecorationZoneFromHashes
GET_PED_DECORATION_ZONE_FROM_HASHES0x9FD452BFBE7A7A8BThe 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.
getPedDecorationZoneFromHashes(collection: Hash, overlay: Hash): numbergetPedDecorationZoneFromHashes(collection: Hash, overlay: Hash): integerUsage
JavaScript
const result = getPedDecorationZoneFromHashes(collection, overlay);Lua
local result = getPedDecorationZoneFromHashes(collection, overlay)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
collection | Hash | number | integer |
overlay | Hash | number | integer |
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of ped overlays / decorations by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedOverlayCollections.json
Reference
- Namespace
- Ped PED
- In the game
int GET_PED_DECORATION_ZONE_FROM_HASHES(Hash collection, Hash overlay)- Hash
0x9FD452BFBE7A7A8B- Formerly
_GET_TATTOO_ZONE