HUDClient

getCurrentWebsiteId

GET_CURRENT_WEBSITE_ID0x97D47996FC48CBAD

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

SignatureJavaScript
getCurrentWebsiteId(): number
SignatureLua
getCurrentWebsiteId(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
HUD HUD
In the game
int GET_CURRENT_WEBSITE_ID()
Hash
0x97D47996FC48CBAD

Open in the interactive natives reference