RedM Natives

IS_STREAM_PLAYING

Hash0xD11FA52EB849D978
Runtime nameIsStreamPlaying
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD11FA52EB849D978

Signature

BOOL IS_STREAM_PLAYING(int streamId);

Parameters

NameTypeDescription
streamIdint—

Returns BOOL

Usage

Lua
local retval = IsStreamPlaying(streamId)

-- always works, by hash
local retval = Citizen.InvokeNative(0xD11FA52EB849D978, streamId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsStreamPlaying(streamId);

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

Sources

alloc8or RDR3 NativeDB

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