GraphicsClientNot in this build

setTvChannelPlaylistDirty

_SET_TV_CHANNEL_PLAYLIST_DIRTY0xEE831F15A8D0D94A

The GTA V native _SET_TV_CHANNEL_PLAYLIST_DIRTY of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setTvChannelPlaylistDirty, in JavaScript and in Lua.

SignatureJavaScript
setTvChannelPlaylistDirty(tvChannel: number, p1: boolean): any
SignatureLua
setTvChannelPlaylistDirty(tvChannel: integer, p1: boolean): any
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
const value = setTvChannelPlaylistDirty(tvChannel, p1);
Lua
local value = setTvChannelPlaylistDirty(tvChannel, p1)

Parameters

ParameterTypeJavaScriptLua
tvChannelintnumberinteger
p1BOOLbooleanboolean

Returns

Any JavaScript any, Lua any

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Does not actually return anything.

Reference

Namespace
Graphics GRAPHICS
In the game
Any _SET_TV_CHANNEL_PLAYLIST_DIRTY(int tvChannel, BOOL p1)
Hash
0xEE831F15A8D0D94A
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference