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

Gameplay::setRandomEventFlag

Материал из RAGE MP Wiki Archive
Версия от 09:57, 22 июля 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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