PedClient

setPedStealthMovement

SET_PED_STEALTH_MOVEMENT0x88CBB5CEB96B7BD2

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

SignatureJavaScript
setPedStealthMovement(ped: Ped, p1: boolean, action: string): void
SignatureLua
setPedStealthMovement(ped: Ped, p1: boolean, action: string)

Usage

JavaScript
setPedStealthMovement(ped, p1, action);
Lua
setPedStealthMovement(ped, p1, action)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1BOOLbooleanboolean
actionstringstringstring

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.

p1 is usually 0 in the scripts. action is either 0 or a pointer to "DEFAULT_ACTION".

Reference

Namespace
Ped PED
In the game
void SET_PED_STEALTH_MOVEMENT(Ped ped, BOOL p1, const char* action)
Hash
0x88CBB5CEB96B7BD2

Open in the interactive natives reference