The Lab
GRAPHICS native

SET_TV_CHANNEL_PLAYLIST

returns void3 paramsbuild 1207

Assigns the playlist playlistName to tvChannel, optionally restarting it.

Signature

C
void SET_TV_CHANNEL_PLAYLIST(int tvChannel, const char* playlistName, BOOL restart); // 0xDEC6B25F5DC8925B b1207

Parameters

#NameType
1tvChannelint
2playlistNameconst char*
3restartBOOL

Facts

Facts about SET_TV_CHANNEL_PLAYLIST
Name
SET_TV_CHANNEL_PLAYLIST
Hash
0xDEC6B25F5DC8925B
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xDEC6B25F5DC8925B, -- SET_TV_CHANNEL_PLAYLIST
  0, -- int tvChannel
  "text", -- const char* playlistName
  false -- BOOL restart
)
JavaScript
Citizen.invokeNative("0xDEC6B25F5DC8925B", // SET_TV_CHANNEL_PLAYLIST
  0, // int tvChannel
  "text", // const char* playlistName
  false // BOOL restart
);
C#
Function.Call((Hash)0xDEC6B25F5DC8925B, // SET_TV_CHANNEL_PLAYLIST
  0, // int tvChannel
  "text", // const char* playlistName
  false // BOOL restart
);
All GRAPHICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.