cs_get_weapon_silen

Синтаксис

native cs_get_weapon_silen(index);

Употреба

index
Weapon entity index

Описание

Returns if the weapon is in silenced mode.

Забележка

Only the USP and M4A1 can return 1 as they are the only guns in the
game that have a silenced fire mode.

Забележка

This native does not verify that the provided entity is a weapon
entity. It will return incorrect values for non-weapon entities.

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

1 if the weapon is in silenced mode, 0 otherwise

Грешка

If an invalid entity index or a client index is provided,
an error will be thrown.