HUDClient

getCurrentWebpageId

GET_CURRENT_WEBPAGE_ID0x01A358D9128B7A86

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

SignatureJavaScript
getCurrentWebpageId(): number
SignatureLua
getCurrentWebpageId(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
HUD HUD
In the game
int GET_CURRENT_WEBPAGE_ID()
Hash
0x01A358D9128B7A86
Formerly
_GET_ACTIVE_WEBSITE_ID

Open in the interactive natives reference