cs_get_weaponbox_item

Синтаксис

native cs_get_weaponbox_item(weaponboxIndex);

Употреба

weaponboxIndex
Weaponbox entity index

Описание

Returns the weapon entity index that was packed into a weaponbox.

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

Weapon entity index on success or 0 if no weapon can be found

Грешка

If a non-weaponbox entity is provided or the entity is invalid, an error will be
thrown.