Ped::setRelationshipBetweenGroups

From RAGE Multiplayer Wiki
Revision as of 21:29, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets the relationship between two groups. This should be called twice (once for each group).

Relationship types:
0 = Companion
1 = Respect
2 = Like
3 = Neutral
4 = Dislike
5 = Hate
255 = Pedestrians

Example:
PED::SET_RELATIONSHIP_BETWEEN_GROUPS(2, l_1017, 0xA49E591C);
PED::SET_RELATIONSHIP_BETWEEN_GROUPS(2, 0xA49E591C, l_1017);

Syntax

mp.game.ped.setRelationshipBetweenGroups(relationship, group1, group2);

Required Arguments

  • relationship: int
  • group1: Model hash or name
  • group2: Model hash or name

Return value

  • Undefined

Example

// todo

See also