SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP
Hash
0x6C1F6AA2F0ADD104Runtime name
SetEntityOnlyDamagedByRelationshipGroupNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x7022BD828FA0B082Signature
void SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP(Entity entity, BOOL p1, Hash relationshipGroup);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
p1 | BOOL | — |
relationshipGroup | Hash | — |
Returns void
Usage
SetEntityOnlyDamagedByRelationshipGroup(entity, p1, relationshipGroup)
-- always works, by hash
Citizen.InvokeNative(0x6C1F6AA2F0ADD104, entity, p1, relationshipGroup)JavaScript and C#
SetEntityOnlyDamagedByRelationshipGroup(entity, p1, relationshipGroup);
// by hash
Citizen.invokeNative('0x6C1F6AA2F0ADD104', entity, p1, relationshipGroup);Function.Call((Hash)0x6C1F6AA2F0ADD104, entity, p1, relationshipGroup);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.