AudioClient

setPedClothEventsEnabled

SET_PED_CLOTH_EVENTS_ENABLED0x29DA3CA8D8B2692D

The 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.

SignatureJavaScript
setPedClothEventsEnabled(ped: Ped, toggle: boolean): void
SignatureLua
setPedClothEventsEnabled(ped: Ped, toggle: boolean)

Usage

JavaScript
setPedClothEventsEnabled(ped, toggle);
Lua
setPedClothEventsEnabled(ped, toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

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

Open in the interactive natives reference