RedM Natives

_GET_ENTITY_CAN_BE_DAMAGED

Old name: _GET_ENTITY_CAN_BE_DAMAGED

Hash0x75DF9E73F2F005FD
Runtime nameGetEntityCanBeDamaged
NamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Also known asGET_ENTITY_CAN_BE_DAMAGED

Signature

BOOL _GET_ENTITY_CAN_BE_DAMAGED(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Description

Usage

Lua
local retval = GetEntityCanBeDamaged(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x75DF9E73F2F005FD, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetEntityCanBeDamaged(entity);

// by hash
const retval = Citizen.invokeNative('0x75DF9E73F2F005FD', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x75DF9E73F2F005FD, entity);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.