setPedDefaultComponentVariation
SET_PED_DEFAULT_COMPONENT_VARIATION0x45EEE61580806D63The GTA V native SET_PED_DEFAULT_COMPONENT_VARIATION of the PED namespace, as LS:MP client scripts call it: the global function setPedDefaultComponentVariation, in JavaScript and in Lua.
setPedDefaultComponentVariation(ped: Ped): voidsetPedDefaultComponentVariation(ped: Ped)Usage
JavaScript
setPedDefaultComponentVariation(ped);Lua
setPedDefaultComponentVariation(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.
Sets Ped Default Clothes
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_DEFAULT_COMPONENT_VARIATION(Ped ped)- Hash
0x45EEE61580806D63