System.isFullscreen

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax

Readonly property, returns whether player's screen is on full screen mode or not.

Return value

  • boolean

Syntax

mp.system.isFullscreen

Example

mp.events.add("playerReady", () => {
    if (mp.system.isFullscreen) {
        mp.console.logInfo(`Player game is on full screen mode.`);
    }
})


See Also