System.isFocused: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 August 2024

  • curprev 11:5511:55, 13 August 2024Shr0x talk contribs 557 bytes +557 Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.system.isFocused </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.events.add("playerReady", () => { if (mp.system.isFocused) { mp.console.logInfo(`Player is focused into the game`); } }) </syntaxhighlight> }} ==See Also== *Functions: **mp.system.notify *Properties: **syste..."