RedM Natives

LOAD_STREAM

Hash0x1F1F957154EC51DF
Runtime nameLoadStream
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1F1F957154EC51DF

Signature

BOOL LOAD_STREAM(const char* streamName, const char* soundSet);

Parameters

NameTypeDescription
streamNameconst char*—
soundSetconst char*—

Returns BOOL

Usage

Lua
local retval = LoadStream(streamName, soundSet)

-- always works, by hash
local retval = Citizen.InvokeNative(0x1F1F957154EC51DF, streamName, soundSet, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = LoadStream(streamName, soundSet);

// by hash
const retval = Citizen.invokeNative('0x1F1F957154EC51DF', streamName, soundSet, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x1F1F957154EC51DF, streamName, soundSet);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.