PedClient

getPedStealthMovement

GET_PED_STEALTH_MOVEMENT0x7C2AC9CA66575FBF

The 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.

SignatureJavaScript
getPedStealthMovement(ped: Ped): boolean
SignatureLua
getPedStealthMovement(ped: Ped): boolean

Usage

JavaScript
const result = getPedStealthMovement(ped);
Lua
local result = getPedStealthMovement(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference