native

zp_get_user_nightvision

Syntax

native zp_get_user_nightvision(id);

Description

Returns whether a player has night vision.

Parameters

id Player index.

Return

2 if it has enable, 1 if it has but are disable, 0 otherwise.