_HAS_BULLET_IMPACTED_ENTITY
Returns true if the entity has just been impacted by a bullet.
Hash
0x7A76104CC2CC69E8Runtime name
HasBulletImpactedEntityNamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _HAS_BULLET_IMPACTED_ENTITY(Entity entity, BOOL p1, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
p1 | BOOL | — |
p2 | BOOL | — |
Returns BOOL
Description
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.
returns true if a bullet impacted the entity
Usage
local retval = HasBulletImpactedEntity(entity, p1, p2)
-- always works, by hash
local retval = Citizen.InvokeNative(0x7A76104CC2CC69E8, entity, p1, p2, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasBulletImpactedEntity(entity, p1, p2);
// by hash
const retval = Citizen.invokeNative('0x7A76104CC2CC69E8', entity, p1, p2, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.