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

Gameplay::setMissionFlag

Материал из RAGE MP Wiki Archive

If true, the player can't save the game.


MulleDK19: If the parameter is true, sets the mission flag to true, if the parameter is false, the function does nothing at all.

^ also, if the mission flag is already set, the function does nothing at all

Syntax

<syntaxhighlight lang="javascript">mp.game.gameplay.setMissionFlag(toggle);</syntaxhighlight>

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also