PedClient

resetPedMovementClipset

RESET_PED_MOVEMENT_CLIPSET0xAA74EC0CB0AAEA2C

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

SignatureJavaScript
resetPedMovementClipset(ped: Ped, p1: number): void
SignatureLua
resetPedMovementClipset(ped: Ped, p1: number)

Usage

JavaScript
resetPedMovementClipset(ped, p1);
Lua
resetPedMovementClipset(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1floatnumbernumber

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.

If p1 is 0.0, I believe you are back to normal.
If p1 is 1.0, it looks like you can only rotate the ped, not walk.

Using the following code to reset back to normal

resetPedMovementClipset(playerPedId(), 0.0);

Reference

Namespace
Ped PED
In the game
void RESET_PED_MOVEMENT_CLIPSET(Ped ped, float p1)
Hash
0xAA74EC0CB0AAEA2C

Open in the interactive natives reference