PedClient

setForceFootstepUpdate

SET_FORCE_FOOTSTEP_UPDATE0x129466ED55140F8D

The GTA V native SET_FORCE_FOOTSTEP_UPDATE of the PED namespace, as LS:MP client scripts call it: the global function setForceFootstepUpdate, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_FORCE_FOOTSTEP_UPDATE(Ped ped, BOOL toggle)
Hash
0x129466ED55140F8D

Open in the interactive natives reference