Skip to main content

Gameplay::setTimeScale

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

```js mp.game.gameplay.setTimeScale(time); ```

Required Arguments

  • time: float

Return value

  • Undefined

Example

```js // todo ```

See also