AudioClient

setPedFootstepsEventsEnabled

SET_PED_FOOTSTEPS_EVENTS_ENABLED0x0653B735BFBDFE87

The GTA V native SET_PED_FOOTSTEPS_EVENTS_ENABLED of the AUDIO namespace, as LS:MP client scripts call it: the global function setPedFootstepsEventsEnabled, in JavaScript and in Lua.

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

Usage

JavaScript
setPedFootstepsEventsEnabled(ped, toggle);
Lua
setPedFootstepsEventsEnabled(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 "loud" footstep sound.

Reference

Namespace
Audio AUDIO
In the game
void SET_PED_FOOTSTEPS_EVENTS_ENABLED(Ped ped, BOOL toggle)
Hash
0x0653B735BFBDFE87
Introduced
Game build 1493 legacy numbering
Formerly
_SET_PED_AUDIO_FOOTSTEP_LOUD

Open in the interactive natives reference