setPedClothEventsEnabled
SET_PED_CLOTH_EVENTS_ENABLED0x29DA3CA8D8B2692DThe GTA V native SET_PED_CLOTH_EVENTS_ENABLED of the AUDIO namespace, as LS:MP client scripts call it: the global function setPedClothEventsEnabled, in JavaScript and in Lua.
setPedClothEventsEnabled(ped: Ped, toggle: boolean): voidsetPedClothEventsEnabled(ped: Ped, toggle: boolean)Usage
JavaScript
setPedClothEventsEnabled(ped, toggle);Lua
setPedClothEventsEnabled(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
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.
Enables/disables ped's "quiet" footstep sound.
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_PED_CLOTH_EVENTS_ENABLED(Ped ped, BOOL toggle)- Hash
0x29DA3CA8D8B2692D- Introduced
- Game build 1493 legacy numbering
- Formerly
_SET_PED_AUDIO_FOOTSTEP_QUIET