clearTvChannelPlaylist
CLEAR_TV_CHANNEL_PLAYLIST0xBEB3D46BB7F043C0The 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.
clearTvChannelPlaylist(tvChannel: number): voidclearTvChannelPlaylist(tvChannel: integer)Usage
JavaScript
clearTvChannelPlaylist(tvChannel);Lua
clearTvChannelPlaylist(tvChannel)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
tvChannel | int | number | integer |
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