The Lab
AUDIO native

IS_STREAM_PLAYING

returns BOOL1 parambuild 1207

Returns true if the audio stream streamId is playing.

Signature

C
BOOL IS_STREAM_PLAYING(int streamId); // 0xD11FA52EB849D978 b1207

Parameters

#NameType
1streamIdint

Facts

Facts about IS_STREAM_PLAYING
Name
IS_STREAM_PLAYING
Hash
0xD11FA52EB849D978
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xD11FA52EB849D978, -- IS_STREAM_PLAYING
  0 -- int streamId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xD11FA52EB849D978", // IS_STREAM_PLAYING
  0, // int streamId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xD11FA52EB849D978, // IS_STREAM_PLAYING
  0 // int streamId
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.