wasPedKilledByStealth
WAS_PED_KILLED_BY_STEALTH0xF9800AA1A771B000The 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.
wasPedKilledByStealth(ped: Ped): booleanwasPedKilledByStealth(ped: Ped): booleanUsage
JavaScript
const result = wasPedKilledByStealth(ped);Lua
local result = wasPedKilledByStealth(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL WAS_PED_KILLED_BY_STEALTH(Ped ped)- Hash
0xF9800AA1A771B000