GraphicsClientChecked by LS:MP

clearTvChannelPlaylist

CLEAR_TV_CHANNEL_PLAYLIST0xBEB3D46BB7F043C0

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

SignatureJavaScript
clearTvChannelPlaylist(tvChannel: number): void
SignatureLua
clearTvChannelPlaylist(tvChannel: integer)

Usage

JavaScript
clearTvChannelPlaylist(tvChannel);
Lua
clearTvChannelPlaylist(tvChannel)

Parameters

ParameterTypeJavaScriptLua
tvChannelintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

On LS:MP

ℹ
Checked by LS:MP

tvChannel must be between 0 and 4. Otherwise the call is ignored: nothing reaches the game, and no error is raised.

Reference

Namespace
Graphics GRAPHICS
In the game
void CLEAR_TV_CHANNEL_PLAYLIST(int tvChannel)
Hash
0xBEB3D46BB7F043C0

Open in the interactive natives reference