isEntityDead
IS_ENTITY_DEAD0x5F9532F3B5CC2551The GTA V native IS_ENTITY_DEAD of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityDead, in JavaScript and in Lua.
isEntityDead(entity: Entity, p1: boolean): booleanisEntityDead(entity: Entity, p1: boolean): booleanUsage
JavaScript
const result = isEntityDead(entity, p1);Lua
local result = isEntityDead(entity, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
p1 | BOOL | boolean | boolean |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_DEAD(Entity entity, BOOL p1)- Hash
0x5F9532F3B5CC2551