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

Gameplay::setRandomEventFlag

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

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

Syntax

<syntaxhighlight lang="javascript">mp.game.gameplay.setRandomEventFlag(p0);</syntaxhighlight>

Required Arguments

  • p0: Boolean

Return value

  • Undefined

Example

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

See also