Gameplay::setGravityLevel

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Usage and example

JavaScript Syntax
Jslogo.png

mp.game.gameplay.setGravityLevel(level);

Parameters

  • level can be a int from 0 to 3
    0: 9.8 - normal gravity
    1: 2.4 - low gravity
    2: 0.1 - very low gravity
    3: 0.0 - no gravity

Example

mp.game.gameplay.setGravityLevel(0)


See also