Graphics::setNightvision

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Enables Night Vision.

Example:
C#: Function.Call(Hash.SET_NIGHTVISION, true);
C++: GRAPHICS::SET_NIGHTVISION(true);

BOOL toggle:
true = turns night vision on for your player.
false = turns night vision off for your player.

Syntax

mp.game.graphics.setNightvision(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also