RedM Natives

GET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH

Hash0x42FDD0F017B1E38E
Runtime nameGetPedRelationshipGroupDefaultHash
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x42FDD0F017B1E38E

Signature

Hash GET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Hash

Usage

Lua
local retval = GetPedRelationshipGroupDefaultHash(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x42FDD0F017B1E38E, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedRelationshipGroupDefaultHash(ped);

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

See also

Sources

alloc8or RDR3 NativeDB

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