setPedRandomProps
SET_PED_RANDOM_PROPS0xC44AA05345C992C6The GTA V native SET_PED_RANDOM_PROPS of the PED namespace, as LS:MP client scripts call it: the global function setPedRandomProps, in JavaScript and in Lua.
setPedRandomProps(ped: Ped): voidsetPedRandomProps(ped: Ped)Usage
JavaScript
setPedRandomProps(ped);Lua
setPedRandomProps(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | 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.
List of component/props ID
gtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_RANDOM_PROPS(Ped ped)- Hash
0xC44AA05345C992C6