setRelationshipGroupAffectsWantedLevel
SET_RELATIONSHIP_GROUP_AFFECTS_WANTED_LEVEL0x5615E0C5EB2BC6E2The GTA V native SET_RELATIONSHIP_GROUP_AFFECTS_WANTED_LEVEL of the PED namespace, as LS:MP client scripts call it: the global function setRelationshipGroupAffectsWantedLevel, in JavaScript and in Lua.
setRelationshipGroupAffectsWantedLevel(group: Hash, p1: boolean): voidsetRelationshipGroupAffectsWantedLevel(group: Hash, p1: boolean)Usage
JavaScript
setRelationshipGroupAffectsWantedLevel(group, p1);Lua
setRelationshipGroupAffectsWantedLevel(group, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
group | Hash | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_RELATIONSHIP_GROUP_AFFECTS_WANTED_LEVEL(Hash group, BOOL p1)- Hash
0x5615E0C5EB2BC6E2- Introduced
- Game build 877 legacy numbering
- Formerly
_SET_RELATIONSHIP_GROUP_DONT_AFFECT_WANTED_LEVEL