Player::getRelationshipBetweens

From RAGE Multiplayer Wiki
Revision as of 23:45, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gets the relationship between two peds. This should be called twice (once for each ped).

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

Example:
Player::GET_RELATIONSHIP_BETWEEN_PEDS(2, l_1017, 0xA49E591C);
Player::GET_RELATIONSHIP_BETWEEN_PEDS(2, 0xA49E591C, l_1017);

Syntax

player.getRelationshipBetweens(ped2);

Required Arguments

  • ped2: Ped handle or object

Return value

  • int

Example

// todo

See also