hasEntityBeenDamagedByAnyPed
HAS_ENTITY_BEEN_DAMAGED_BY_ANY_PED0x605F5A140F202491The GTA V native HAS_ENTITY_BEEN_DAMAGED_BY_ANY_PED of the ENTITY namespace, as LS:MP client scripts call it: the global function hasEntityBeenDamagedByAnyPed, in JavaScript and in Lua.
hasEntityBeenDamagedByAnyPed(entity: Entity): booleanhasEntityBeenDamagedByAnyPed(entity: Entity): booleanUsage
JavaScript
const result = hasEntityBeenDamagedByAnyPed(entity);Lua
local result = hasEntityBeenDamagedByAnyPed(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_PED(Entity entity)- Hash
0x605F5A140F202491