RedM Natives

IS_AUDIO_SCENE_ACTIVE

Hash0xB65B60556E2A9225
Runtime nameIsAudioSceneActive
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB65B60556E2A9225

Signature

BOOL IS_AUDIO_SCENE_ACTIVE(const char* scene);

Parameters

NameTypeDescription
sceneconst char*—

Returns BOOL

Usage

Lua
local retval = IsAudioSceneActive(scene)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB65B60556E2A9225, scene, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsAudioSceneActive(scene);

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

Sources

alloc8or RDR3 NativeDB

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