Landing pageClientNot in this build

isLandingPageActive

IS_LANDING_PAGE_ACTIVE

The GTA V native IS_LANDING_PAGE_ACTIVE of the LANDINGPAGE namespace, as LS:MP client scripts call it: the global function isLandingPageActive, in JavaScript and in Lua.

SignatureJavaScript
isLandingPageActive(): boolean
SignatureLua
isLandingPageActive(): boolean
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Landing page LANDINGPAGE
In the game
BOOL IS_LANDING_PAGE_ACTIVE()

Open in the interactive natives reference