HUDClient

getScreenCodeWantsScriptToControl

GET_SCREEN_CODE_WANTS_SCRIPT_TO_CONTROL0x593FEAE1F73392D4

The GTA V native GET_SCREEN_CODE_WANTS_SCRIPT_TO_CONTROL of the HUD namespace, as LS:MP client scripts call it: the global function getScreenCodeWantsScriptToControl, in JavaScript and in Lua.

SignatureJavaScript
getScreenCodeWantsScriptToControl(): number
SignatureLua
getScreenCodeWantsScriptToControl(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
HUD HUD
In the game
int GET_SCREEN_CODE_WANTS_SCRIPT_TO_CONTROL()
Hash
0x593FEAE1F73392D4

Open in the interactive natives reference