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