displayLoadingScreenNow
DISPLAY_LOADING_SCREEN_NOWThe 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.
displayLoadingScreenNow(onOff: boolean): voiddisplayLoadingScreenNow(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
onOff | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void DISPLAY_LOADING_SCREEN_NOW(BOOL onOff)