setPedStealthMovement
SET_PED_STEALTH_MOVEMENT0x88CBB5CEB96B7BD2The 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.
setPedStealthMovement(ped: Ped, p1: boolean, action: string): voidsetPedStealthMovement(ped: Ped, p1: boolean, action: string)Usage
JavaScript
setPedStealthMovement(ped, p1, action);Lua
setPedStealthMovement(ped, p1, action)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
action | string | string | string |
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