native

cs_get_user_nvg

Syntax

native cs_get_user_nvg(index);

Description

Returns if the client's has night vision goggles.

Parameters

index Client index

Return

1 if user has NVG, 0 otherwise

Error

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error will be
thrown.