GET_RELATIONSHIP_BETWEEN_PEDS
Hash
0xEBA5AD3A0EAF7121Runtime name
GetRelationshipBetweenPedsNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xEBA5AD3A0EAF7121Signature
int GET_RELATIONSHIP_BETWEEN_PEDS(Ped ped1, Ped ped2);Parameters
| Name | Type | Description |
|---|---|---|
ped1 | Ped | — |
ped2 | Ped | — |
Returns int
Usage
local retval = GetRelationshipBetweenPeds(ped1, ped2)
-- always works, by hash
local retval = Citizen.InvokeNative(0xEBA5AD3A0EAF7121, ped1, ped2, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetRelationshipBetweenPeds(ped1, ped2);
// by hash
const retval = Citizen.invokeNative('0xEBA5AD3A0EAF7121', ped1, ped2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xEBA5AD3A0EAF7121, ped1, ped2);Enums and flags
- eRelationType 10 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.