| Property | Value |
|---|---|
| Native Name | _GET_LOADED_STREAM_ID_FROM_CREATION |
| Hash | 0x0556C784FA056628 |
| Return Type | int |
| Build | 1207 |
| API Set | client |
| Parameters | streamName (char*), soundSet (char*) |
Description: Creates stream and returns streamId handle to be used with PLAY_STREAM_* natives https://github.com/femga/rdr3_discoveries/tree/master/audio/create_stream
Usage
Lua (Direct):
local result = GetLoadedStreamIdFromCreation(streamName, soundSet)
Lua (Hash):
local result = Citizen.InvokeNative(0x0556C784FA056628, streamName, soundSet)