AMX Mod X API Documentation

Signature
native cs_get_weapon_silen(index);
Description

Returns if the weapon is in silenced mode.

Notes
  • 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.

Parameters
  • index Weapon entity index
Returns

1 if the weapon is in silenced mode, 0 otherwise

Errors
  • If an invalid entity index or a client index is provided,

    an error will be thrown.

Назад
Верх