GraphicsClient

getTvChannel

GET_TV_CHANNEL0xFC1E275A90D39995

The GTA V native GET_TV_CHANNEL of the GRAPHICS namespace, as LS:MP client scripts call it: the global function getTvChannel, in JavaScript and in Lua.

SignatureJavaScript
getTvChannel(): number
SignatureLua
getTvChannel(): integer

Usage

JavaScript
const result = getTvChannel();
Lua
local result = getTvChannel()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Graphics GRAPHICS
In the game
int GET_TV_CHANNEL()
Hash
0xFC1E275A90D39995

Open in the interactive natives reference