GraphicsClientNot in this build

displayLoadingScreenNow

DISPLAY_LOADING_SCREEN_NOW

The GTA V native DISPLAY_LOADING_SCREEN_NOW of the GRAPHICS namespace, as LS:MP client scripts call it: the global function displayLoadingScreenNow, in JavaScript and in Lua.

SignatureJavaScript
displayLoadingScreenNow(onOff: boolean): void
SignatureLua
displayLoadingScreenNow(onOff: 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
displayLoadingScreenNow(onOff);
Lua
displayLoadingScreenNow(onOff)

Parameters

ParameterTypeJavaScriptLua
onOffBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void DISPLAY_LOADING_SCREEN_NOW(BOOL onOff)

Open in the interactive natives reference