RedM Natives

_HAS_BULLET_IMPACTED_ENTITY

Returns true if the entity has just been impacted by a bullet.

Hash0x7A76104CC2CC69E8
Runtime nameHasBulletImpactedEntity
NamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _HAS_BULLET_IMPACTED_ENTITY(Entity entity, BOOL p1, BOOL p2);

Parameters

NameTypeDescription
entityEntity—
p1BOOL—
p2BOOL—

Returns BOOL

Description

alloc8or RDR3 NativeDB

Returns true if the entity has just been impacted by a bullet.
Research notes this bullet-impact group does not appear to work with arrows or throwable projectiles.

VORPCORE RDR3natives

returns true if a bullet impacted the entity

Usage

Lua
local retval = HasBulletImpactedEntity(entity, p1, p2)

-- always works, by hash
local retval = Citizen.InvokeNative(0x7A76104CC2CC69E8, entity, p1, p2, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = HasBulletImpactedEntity(entity, p1, p2);

// by hash
const retval = Citizen.invokeNative('0x7A76104CC2CC69E8', entity, p1, p2, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x7A76104CC2CC69E8, entity, p1, p2);
  • 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.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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