AMX Mod X API Documentation

Signature
native cs_get_weapon_burst(index);
Description

Returns if the weapon is in burst mode.

Notes
  • Only the Glock and Famas can return 1 as they are the only guns in the

    game that have a burst 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 burst mode, 0 otherwise

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

    an error will be thrown.

Назад
Верх