getPedStealthMovement
GET_PED_STEALTH_MOVEMENT0x7C2AC9CA66575FBFThe GTA V native GET_PED_STEALTH_MOVEMENT of the PED namespace, as LS:MP client scripts call it: the global function getPedStealthMovement, in JavaScript and in Lua.
getPedStealthMovement(ped: Ped): booleangetPedStealthMovement(ped: Ped): booleanUsage
JavaScript
const result = getPedStealthMovement(ped);Lua
local result = getPedStealthMovement(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns whether the entity is in stealth mode
Reference
- Namespace
- Ped PED
- In the game
BOOL GET_PED_STEALTH_MOVEMENT(Ped ped)- Hash
0x7C2AC9CA66575FBF