_GET_LOADED_STREAM_ID_FROM_CREATION
Returns the id of an audio stream that was loaded from streamName in soundSet.
Signature
int _GET_LOADED_STREAM_ID_FROM_CREATION(const char* streamName, const char* soundSet); // 0x0556C784FA056628 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | streamName | const char* |
| 2 | soundSet | const char* |
Facts
| Name | _GET_LOADED_STREAM_ID_FROM_CREATION |
|---|---|
| Hash | 0x0556C784FA056628 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x0556C784FA056628, -- _GET_LOADED_STREAM_ID_FROM_CREATION
"text", -- const char* streamName
"text", -- const char* soundSet
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x0556C784FA056628", // _GET_LOADED_STREAM_ID_FROM_CREATION
"text", // const char* streamName
"text", // const char* soundSet
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x0556C784FA056628, // _GET_LOADED_STREAM_ID_FROM_CREATION
"text", // const char* streamName
"text" // const char* soundSet
);Related AUDIO natives
- _PLAY_SOUND_FROM_POSITION_WITH_ID
- GET_SOUND_ID
- PLAY_STREAM_FROM_PED
- PLAY_STREAM_FROM_POSITION
- _GET_LAST_PLAYED_SPEECH_FOR_PED
- _GET_ENTITY_AUDIO_MIX_GROUP
- _GET_PED_SONG_INDEX_HOST
- _HAS_SOUND_ID_FINISHED
- _PLAY_SOUND_FROM_ENTITY_WITH_SET
- _PLAY_SOUND_FROM_ITEM
- _PLAY_SOUND_FROM_POSITION
- _PLAY_SOUND_FROM_SCRIPTED_PED_AMBIENT_SPEECH
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.