rg_find_weapon_bpack_by_name
Syntax
native rg_find_weapon_bpack_by_name(const index, const weapon[]);
Usage
| Parameter | Description |
|---|---|
| index | Client index |
| weapon | Weapon name |
Description
Finds the weapon by name in the player's inventory.
Return
Weapon's entity index, 0 otherwise