RedM Natives

GET_RELATIONSHIP_BETWEEN_PEDS

Hash0xEBA5AD3A0EAF7121
Runtime nameGetRelationshipBetweenPeds
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xEBA5AD3A0EAF7121

Signature

int GET_RELATIONSHIP_BETWEEN_PEDS(Ped ped1, Ped ped2);

Parameters

NameTypeDescription
ped1Ped—
ped2Ped—

Returns int

Usage

Lua
local retval = GetRelationshipBetweenPeds(ped1, ped2)

-- always works, by hash
local retval = Citizen.InvokeNative(0xEBA5AD3A0EAF7121, ped1, ped2, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetRelationshipBetweenPeds(ped1, ped2);

// by hash
const retval = Citizen.invokeNative('0xEBA5AD3A0EAF7121', ped1, ped2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xEBA5AD3A0EAF7121, ped1, ped2);

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.