Signature
native rg_find_weapon_bpack_by_name(const index, const weapon[]);
Description
Finds the weapon by name in the player's inventory.
Parameters
- index — Client index
- weapon — Weapon name
Returns
Weapon's entity index, 0 otherwise