PedClient

wasPedKilledByStealth

WAS_PED_KILLED_BY_STEALTH0xF9800AA1A771B000

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL WAS_PED_KILLED_BY_STEALTH(Ped ped)
Hash
0xF9800AA1A771B000

Open in the interactive natives reference