AMX Mod X API Documentation

Signature
native cs_set_user_nvg(index, nvgoggles = 1);
Description

Sets the client's night vision goggles.

Parameters
  • index Client index
  • nvgoogles If nonzero the NVG will be added to the client's

    inventory, otherwise they will be removed from it

No return value
Errors
  • If the client index is not within the range of 1 to

    MaxClients, or the client is not connected, an error

    will be thrown.

Назад
Верх