cs_set_user_nvg

Синтаксис

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.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

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