RedM Natives

SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP

Hash0x6C1F6AA2F0ADD104
Runtime nameSetEntityOnlyDamagedByRelationshipGroup
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x7022BD828FA0B082

Signature

void SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP(Entity entity, BOOL p1, Hash relationshipGroup);

Parameters

NameTypeDescription
entityEntity—
p1BOOL—
relationshipGroupHash—

Returns void

Usage

Lua
SetEntityOnlyDamagedByRelationshipGroup(entity, p1, relationshipGroup)

-- always works, by hash
Citizen.InvokeNative(0x6C1F6AA2F0ADD104, entity, p1, relationshipGroup)
JavaScript and C#
JavaScript
SetEntityOnlyDamagedByRelationshipGroup(entity, p1, relationshipGroup);

// by hash
Citizen.invokeNative('0x6C1F6AA2F0ADD104', entity, p1, relationshipGroup);
C#
Function.Call((Hash)0x6C1F6AA2F0ADD104, entity, p1, relationshipGroup);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

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