setTvChannelPlaylistDirty
_SET_TV_CHANNEL_PLAYLIST_DIRTY0xEE831F15A8D0D94AThe 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.
setTvChannelPlaylistDirty(tvChannel: number, p1: boolean): anysetTvChannelPlaylistDirty(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
tvChannel | int | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Any JavaScript any, Lua anyNotes
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