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

Gameplay::setTimeScale

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

Maximum value is 1.
At a value of 0 the game will still run at a minimum time scale.

Slow Motion 1: 0.6
Slow Motion 2: 0.4
Slow Motion 3: 0.2

Syntax

<syntaxhighlight lang="javascript">mp.game.gameplay.setTimeScale(time);</syntaxhighlight>

Required Arguments

  • time: float

Return value

  • Undefined

Example

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

See also