Gameplay::getMissionFlag: 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.

29 April 2024

  • curprev 09:0409:04, 29 April 2024Shr0x talk contribs 475 bytes +475 Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getMissionFlag(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const flag = mp.game.gameplay.getMissionFlag(); mp.console.logInfo(`Mission flag is ${flag ? 'enabled' : 'disabled'}`); </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TODO: Example"