HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY
Hash
0x7B6E7BEC1143AC86Runtime name
HasEntityBeenDamagedByEntityNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC86D67D52A707CF8Signature
BOOL HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY(Entity entity1, Entity entity2, BOOL p2, BOOL p3);Parameters
| Name | Type | Description |
|---|---|---|
entity1 | Entity | — |
entity2 | Entity | — |
p2 | BOOL | — |
p3 | BOOL | — |
Returns BOOL
Usage
local retval = HasEntityBeenDamagedByEntity(entity1, entity2, p2, p3)
-- always works, by hash
local retval = Citizen.InvokeNative(0x7B6E7BEC1143AC86, entity1, entity2, p2, p3, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasEntityBeenDamagedByEntity(entity1, entity2, p2, p3);
// by hash
const retval = Citizen.invokeNative('0x7B6E7BEC1143AC86', entity1, entity2, p2, p3, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x7B6E7BEC1143AC86, entity1, entity2, p2, p3);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.