RedM Natives

IS_TVSHOW_CURRENTLY_PLAYING

Old name: _IS_TV_PLAYLIST_ITEM_PLAYING

Hash0x4D562223E0EB65F3
Runtime nameIsTvshowCurrentlyPlaying
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x0AD973CA1E077B60

Signature

BOOL IS_TVSHOW_CURRENTLY_PLAYING(Hash videoCliphash);

Parameters

NameTypeDescription
videoCliphashHash—

Returns BOOL

Description

Old name: _IS_TV_PLAYLIST_ITEM_PLAYING

Usage

Lua
local retval = IsTvshowCurrentlyPlaying(videoCliphash)

-- always works, by hash
local retval = Citizen.InvokeNative(0x4D562223E0EB65F3, videoCliphash, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsTvshowCurrentlyPlaying(videoCliphash);

// by hash
const retval = Citizen.invokeNative('0x4D562223E0EB65F3', videoCliphash, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x4D562223E0EB65F3, videoCliphash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

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