setPedFootstepsEventsEnabled
SET_PED_FOOTSTEPS_EVENTS_ENABLED0x0653B735BFBDFE87The 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.
setPedFootstepsEventsEnabled(ped: Ped, toggle: boolean): voidsetPedFootstepsEventsEnabled(ped: Ped, toggle: boolean)Usage
JavaScript
setPedFootstepsEventsEnabled(ped, toggle);Lua
setPedFootstepsEventsEnabled(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 "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