SET_TV_CHANNEL_PLAYLIST
Assigns the playlist playlistName to tvChannel, optionally restarting it.
Signature
void SET_TV_CHANNEL_PLAYLIST(int tvChannel, const char* playlistName, BOOL restart); // 0xDEC6B25F5DC8925B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | tvChannel | int |
| 2 | playlistName | const char* |
| 3 | restart | BOOL |
Facts
| 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.
Citizen.InvokeNative(0xDEC6B25F5DC8925B, -- SET_TV_CHANNEL_PLAYLIST
0, -- int tvChannel
"text", -- const char* playlistName
false -- BOOL restart
)Citizen.invokeNative("0xDEC6B25F5DC8925B", // SET_TV_CHANNEL_PLAYLIST
0, // int tvChannel
"text", // const char* playlistName
false // BOOL restart
);Function.Call((Hash)0xDEC6B25F5DC8925B, // SET_TV_CHANNEL_PLAYLIST
0, // int tvChannel
"text", // const char* playlistName
false // BOOL restart
);Related GRAPHICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.