Landing pageClientNot in this build

setShouldLaunchLandingPage

SET_SHOULD_LAUNCH_LANDING_PAGE

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

SignatureJavaScript
setShouldLaunchLandingPage(entrypointId: number): void
SignatureLua
setShouldLaunchLandingPage(entrypointId: integer)
⚠
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
setShouldLaunchLandingPage(entrypointId);
Lua
setShouldLaunchLandingPage(entrypointId)

Parameters

ParameterTypeJavaScriptLua
entrypointIdintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Landing page LANDINGPAGE
In the game
void SET_SHOULD_LAUNCH_LANDING_PAGE(int entrypointId)

Open in the interactive natives reference