Signature
native cs_get_weaponbox_item(weaponboxIndex);
Description
Returns the weapon entity index that was packed into a weaponbox.
Parameters
- weaponboxIndex — Weaponbox entity index
Returns
Weapon entity index on success or 0 if no weapon can be found
Errors
-
If a non-weaponbox entity is provided or the entity is invalid, an error will be
thrown.