System.isFullscreen
Client-Side Function
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
- Functions:
- Properties: