HAS_ENTITY_BEEN_DAMAGED_BY_ANY_PED
Hash
0x9934E9C42D52D87ERuntime name
HasEntityBeenDamagedByAnyPedNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x605F5A140F202491Signature
BOOL HAS_ENTITY_BEEN_DAMAGED_BY_ANY_PED(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns BOOL
Usage
local retval = HasEntityBeenDamagedByAnyPed(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9934E9C42D52D87E, entity, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasEntityBeenDamagedByAnyPed(entity);
// by hash
const retval = Citizen.invokeNative('0x9934E9C42D52D87E', entity, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x9934E9C42D52D87E, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.