setEntityOnlyDamagedByRelationshipGroup
SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP0x7022BD828FA0B082The GTA V native SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityOnlyDamagedByRelationshipGroup, in JavaScript and in Lua.
setEntityOnlyDamagedByRelationshipGroup(
entity: Entity,
p1: boolean,
p2: any
): voidsetEntityOnlyDamagedByRelationshipGroup(
entity: Entity,
p1: boolean,
p2: any
)Usage
JavaScript
setEntityOnlyDamagedByRelationshipGroup(entity, p1, p2);Lua
setEntityOnlyDamagedByRelationshipGroup(entity, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
p1 | BOOL | boolean | boolean |
p2 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP(Entity entity, BOOL p1, Any p2)- Hash
0x7022BD828FA0B082