RedM Natives

_SET_SOUND_RELATIONSHIP_ON_PED

Hash0x2E31ACA7477CF00F
Runtime nameSetSoundRelationshipOnPed
NamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_SOUND_RELATIONSHIP_ON_PED(Ped ped, const char* p1, const char* p2);

Parameters

NameTypeDescription
pedPed—
p1const char*—
p2const char*—

Returns void

Description

p1: Entity.Relationship
p2: Player, Enemy, Teammate, Neutral

Usage

Lua
SetSoundRelationshipOnPed(ped, p1, p2)

-- always works, by hash
Citizen.InvokeNative(0x2E31ACA7477CF00F, ped, p1, p2)
JavaScript and C#
JavaScript
SetSoundRelationshipOnPed(ped, p1, p2);

// by hash
Citizen.invokeNative('0x2E31ACA7477CF00F', ped, p1, p2);
C#
Function.Call((Hash)0x2E31ACA7477CF00F, ped, p1, p2);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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