Native referenceFiveM

GET_IS_LOADING_SCREEN_ACTIVE

0x10D0A8F259E93EC9 DLC
FUNCTION SIGNATURE
BOOL GET_IS_LOADING_SCREEN_ACTIVE(/* parameters not documented */);
Property Value
Native Name GET_IS_LOADING_SCREEN_ACTIVE
Hash 0x10D0A8F259E93EC9
Return Type BOOL

Description: When loading in, returns true until SHUTDOWN_LOADING_SCREEN was called. Note that this is referring to the game's loading screen, not the NUI loadingscreen and is therefore not impacted by loadscreen_manual_shutdown.

Examples

-- Close the loading screen if it's still active
if GetIsLoadingScreenActive() then
    ShutdownLoadingScreen()
end
Back to DLC