setShouldLaunchLandingPage
SET_SHOULD_LAUNCH_LANDING_PAGEThe 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.
setShouldLaunchLandingPage(entrypointId: number): voidsetShouldLaunchLandingPage(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entrypointId | int | number | integer |
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)