PedClient

isPedBeingStealthKilled

IS_PED_BEING_STEALTH_KILLED0x863B23EFDE9C5DF2

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_BEING_STEALTH_KILLED(Ped ped)
Hash
0x863B23EFDE9C5DF2

Open in the interactive natives reference