All public logs
Combined display of all available logs of RAGE Multiplayer Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 09:05, 29 April 2024 Shr0x talk contribs created page Gameplay::getRandomEventFlag (Created page with "{{ClientsideJsFunction}} {{JSContainer| Checks if the player is currently on a random event. ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getRandomEventFlag(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const flag = mp.game.gameplay.getRandomEventFlag(); mp.console.logInfo(`Player ${flag ? 'is' : 'is not'} in a random event.`); </syntaxhighlight> }} ==See also== {{Gameplay_defin...")