iteminbgas

Returns the given item is in the players bags.

iteminbgas(itemid) : boolean
-- alts
itemInBags(itemid) : boolean
item(itemID) : boolean

Example

if iteminbgas(HealthStone) then
return cast(HealthStone, 'player')
end