Signature
native get_weaponid(const name[]);
Description
Returns the weapon id associated with a weapon name.
Notes
- The weapon name is case sensitive and has the weapon_* form.
Parameters
- name — Weapon name
Returns
Weapon id, or 0 if no id was found