_SET_SOUND_RELATIONSHIP_ON_PED
Based on its name and signature, here is our best reading:
Sets a sound relationship on ped using the two given names.
Signature
void _SET_SOUND_RELATIONSHIP_ON_PED(Ped ped, const char* p1, const char* p2); // 0x2E31ACA7477CF00F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | const char* |
| 3 | p2 | const char* |
Facts
| 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.
Citizen.InvokeNative(0x2E31ACA7477CF00F, -- _SET_SOUND_RELATIONSHIP_ON_PED
PlayerPedId(), -- Ped ped
"text", -- const char* p1
"text" -- const char* p2
)Citizen.invokeNative("0x2E31ACA7477CF00F", // _SET_SOUND_RELATIONSHIP_ON_PED
PlayerPedId(), // Ped ped
"text", // const char* p1
"text" // const char* p2
);Function.Call((Hash)0x2E31ACA7477CF00F, // _SET_SOUND_RELATIONSHIP_ON_PED
API.PlayerPedId(), // Ped ped
"text", // const char* p1
"text" // const char* p2
);Related AUDIO natives
- _SET_VARIABLE_ON_SOUND_WITH_ID
- _SET_VARIABLE_ON_SOUND_WITH_NAME
- _SET_VOFX_PED_VOICE
- _SET_WHISTLE_CONFIG_FOR_PED
- _PLAY_SOUND_FROM_ENTITY_WITH_SET
- _PLAY_SOUND_FROM_SCRIPTED_PED_AMBIENT_SPEECH
- _PLAY_SOUND_FRONTEND_WITH_SOUND_ID
- SET_PED_INTERIOR_WALLA_DENSITY
- SET_PED_IS_DRUNK
- SET_PED_WALLA_DENSITY
- _SET_AMBIENT_ZONE_POSITION
- _SET_AUDIO_SCENESET
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.