RedM Natives

SET_TV_CHANNEL_PLAYLIST

Hash0xDEC6B25F5DC8925B
Runtime nameSetTvChannelPlaylist
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF7B38B8305F1FE8B

Signature

void SET_TV_CHANNEL_PLAYLIST(int tvChannel, const char* playlistName, BOOL restart);

Parameters

NameTypeDescription
tvChannelint—
playlistNameconst char*—
restartBOOL—

Returns void

Usage

Lua
SetTvChannelPlaylist(tvChannel, playlistName, restart)

-- always works, by hash
Citizen.InvokeNative(0xDEC6B25F5DC8925B, tvChannel, playlistName, restart)
JavaScript and C#
JavaScript
SetTvChannelPlaylist(tvChannel, playlistName, restart);

// by hash
Citizen.invokeNative('0xDEC6B25F5DC8925B', tvChannel, playlistName, restart);
C#
Function.Call((Hash)0xDEC6B25F5DC8925B, tvChannel, playlistName, restart);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.