cs_get_weapon_silen

Syntax

native cs_get_weapon_silen(index);

Usage

index
Weapon entity index

Description

Returns if the weapon is in silenced mode.

Note

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

Note

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

Return

1 if the weapon is in silenced mode, 0 otherwise

Error

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