native cs_set_user_nvg(index, nvgoggles = 1);
index | Client index |
nvgoogles | If nonzero the NVG will be added to the client's inventory, otherwise they will be removed from it |
Sets the client's night vision goggles.
This function has no return value.
If the client index is not within the range of 1 to MaxClients, or the client is not connected, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.