get_weaponid

Синтаксис

native get_weaponid(const name[]);

Употреба

name
Weapon name

Описание

Returns the weapon id associated with a weapon name.

Забележка

The weapon name is case sensitive and has the weapon_* form.

Връщаща стойност

Weapon id, or 0 if no id was found