addPedDecorationFromHashesInCorona
ADD_PED_DECORATION_FROM_HASHES_IN_CORONA0x5619BFA07CFD7833The GTA V native ADD_PED_DECORATION_FROM_HASHES_IN_CORONA of the PED namespace, as LS:MP client scripts call it: the global function addPedDecorationFromHashesInCorona, in JavaScript and in Lua.
addPedDecorationFromHashesInCorona(
ped: Ped,
collection: Hash,
overlay: Hash
): voidaddPedDecorationFromHashesInCorona(
ped: Ped,
collection: Hash,
overlay: Hash
)Usage
JavaScript
addPedDecorationFromHashesInCorona(ped, collection, overlay);Lua
addPedDecorationFromHashesInCorona(ped, collection, overlay)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
collection | Hash | number | integer |
overlay | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
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
void ADD_PED_DECORATION_FROM_HASHES_IN_CORONA(Ped ped, Hash collection, Hash overlay)- Hash
0x5619BFA07CFD7833- Formerly
_SET_PED_FACIAL_DECORATION