Skip to main content

Graphics::setNightvision

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

```js mp.game.graphics.setNightvision(toggle); ```

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also