cs_set_user_nvg
Syntax
native cs_set_user_nvg(index, nvgoggles = 1);
Usage
| Parameter | Description |
|---|---|
| index | Client index |
| nvgoogles | If nonzero the NVG will be added to the client's inventory, otherwise they will be removed from it |
Description
Sets the client's night vision goggles.
Return
This function has no return value.
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.