The Lab
AUDIO native

_SET_SOUND_RELATIONSHIP_ON_PED

returns void3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Sets a sound relationship on ped using the two given names.

Signature

C
void _SET_SOUND_RELATIONSHIP_ON_PED(Ped ped, const char* p1, const char* p2); // 0x2E31ACA7477CF00F b1207

Parameters

#NameType
1pedPed
2p1const char*
3p2const char*

Facts

Facts about _SET_SOUND_RELATIONSHIP_ON_PED
Name
_SET_SOUND_RELATIONSHIP_ON_PED
Hash
0x2E31ACA7477CF00F
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x2E31ACA7477CF00F, -- _SET_SOUND_RELATIONSHIP_ON_PED
  PlayerPedId(), -- Ped ped
  "text", -- const char* p1
  "text" -- const char* p2
)
JavaScript
Citizen.invokeNative("0x2E31ACA7477CF00F", // _SET_SOUND_RELATIONSHIP_ON_PED
  PlayerPedId(), // Ped ped
  "text", // const char* p1
  "text" // const char* p2
);
C#
Function.Call((Hash)0x2E31ACA7477CF00F, // _SET_SOUND_RELATIONSHIP_ON_PED
  API.PlayerPedId(), // Ped ped
  "text", // const char* p1
  "text" // const char* p2
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.