SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP
Hash
0x0EF1AFB18649E015Runtime name
SetEntityCanBeDamagedByRelationshipGroupNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE22D8FDE858B8119Signature
void SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP(Entity entity, BOOL bCanBeDamaged, Hash relGroup);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
bCanBeDamaged | BOOL | — |
relGroup | Hash | — |
Returns void
Usage
SetEntityCanBeDamagedByRelationshipGroup(entity, bCanBeDamaged, relGroup)
-- always works, by hash
Citizen.InvokeNative(0x0EF1AFB18649E015, entity, bCanBeDamaged, relGroup)JavaScript and C#
SetEntityCanBeDamagedByRelationshipGroup(entity, bCanBeDamaged, relGroup);
// by hash
Citizen.invokeNative('0x0EF1AFB18649E015', entity, bCanBeDamaged, relGroup);Function.Call((Hash)0x0EF1AFB18649E015, entity, bCanBeDamaged, relGroup);- 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.