Summary

Hooks

Returns whether a player may use night vision.

Hooks

Schema:PlayerCanUseNightvision(player)

shared gamemodes/cwhl2rp/plugins/nightvision/plugin/sh_plugin.lua:94

Returns whether a player may use night vision.

MPF units of the SpF, CmD, CpT, MaJ or SeC rank may, as may anyone with the 9 flag.

Parameters

  • player Player The player to check

Returns

  • Boolean Whether the player can use night vision

Defined in