native
cs_get_weapon_burst
Syntax
native cs_get_weapon_burst(index);
Description
Returns if the weapon is in burst mode.
Parameters
| index | Weapon entity index |
|---|
Note
Only the Glock and Famas can return 1 as they are the only guns in the
game that have a burst 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 burst mode, 0 otherwise
Error
If an invalid entity index or a client index is provided,
an error will be thrown.