RedM Natives

GET_TV_CHANNEL

Hash0xF90FBFD68F3C59AE
Runtime nameGetTvChannel
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xFC1E275A90D39995

Signature

int GET_TV_CHANNEL();

Returns int

Usage

Lua
local retval = GetTvChannel()

-- always works, by hash
local retval = Citizen.InvokeNative(0xF90FBFD68F3C59AE, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetTvChannel();

// by hash
const retval = Citizen.invokeNative('0xF90FBFD68F3C59AE', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xF90FBFD68F3C59AE);

See also

Sources

alloc8or RDR3 NativeDB

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