_PLAY_SOUND_FROM_ENTITY_WITH_SET
Plays soundName from soundsetName on soundId, positioned on entity.
Signature
void _PLAY_SOUND_FROM_ENTITY_WITH_SET(int soundId, const char* soundName, Entity entity, const char* soundsetName, BOOL p4, Any p5); // 0xF1C5310FEAA36B48 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | soundId | int |
| 2 | soundName | const char* |
| 3 | entity | Entity |
| 4 | soundsetName | const char* |
| 5 | p4 | BOOL |
| 6 | p5 | Any |
Facts
| Name | _PLAY_SOUND_FROM_ENTITY_WITH_SET |
|---|---|
| Hash | 0xF1C5310FEAA36B48 |
| 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(0xF1C5310FEAA36B48, -- _PLAY_SOUND_FROM_ENTITY_WITH_SET
0, -- int soundId
"text", -- const char* soundName
PlayerPedId(), -- Entity entity
"text", -- const char* soundsetName
false, -- BOOL p4
0 -- Any p5
)Citizen.invokeNative("0xF1C5310FEAA36B48", // _PLAY_SOUND_FROM_ENTITY_WITH_SET
0, // int soundId
"text", // const char* soundName
PlayerPedId(), // Entity entity
"text", // const char* soundsetName
false, // BOOL p4
0 // Any p5
);Function.Call((Hash)0xF1C5310FEAA36B48, // _PLAY_SOUND_FROM_ENTITY_WITH_SET
0, // int soundId
"text", // const char* soundName
API.PlayerPedId(), // Entity entity
"text", // const char* soundsetName
false, // BOOL p4
0 // Any p5
);Related AUDIO natives
- _PLAY_SOUND_FROM_POSITION_WITH_ID
- _PLAY_SOUND_FRONTEND_WITH_SOUND_ID
- _PLAY_SOUND_FROM_ITEM
- _PLAY_SOUND_FROM_POSITION
- _PLAY_SOUND_FROM_SCRIPTED_PED_AMBIENT_SPEECH
- PLAY_SOUND_FROM_ENTITY
- _SET_VARIABLE_ON_SOUND_WITH_ID
- _SET_VARIABLE_ON_SOUND_WITH_NAME
- PREPARE_SOUND_WITH_ENTITY
- _SET_SOUND_RELATIONSHIP_ON_PED
- _STOP_SOUND_WITH_ID
- _STOP_SOUND_WITH_NAME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.