its
if xPlayer.getInventoryItem('casinochips').count >= amount then xPlayer.removeInventoryItem('casinochips', amount) return true else return false end end