Перейти к содержанию

System.isFocused

Материал из RAGE MP Wiki Archive
Версия от 11:55, 13 августа 2024; imported>Shr0x (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...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)