RedM Natives

SET_TV_CHANNEL

Hash0x593FAF7FC9401A56
Runtime nameSetTvChannel
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBAABBB23EB6E484E

Signature

void SET_TV_CHANNEL(int channel);

Parameters

NameTypeDescription
channelint—

Returns void

Usage

Lua
SetTvChannel(channel)

-- always works, by hash
Citizen.InvokeNative(0x593FAF7FC9401A56, channel)
JavaScript and C#
JavaScript
SetTvChannel(channel);

// by hash
Citizen.invokeNative('0x593FAF7FC9401A56', channel);
C#
Function.Call((Hash)0x593FAF7FC9401A56, channel);

See also

Sources

alloc8or RDR3 NativeDB

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