if(self.npcHandler.shopItems[itemid].buyPrice ~= 666) then
if(getPlayerMoney(cid) < amount*self.npcHandler.shopItems[itemid].buyPrice) then
local msg = self.npcHandler:getMessage(MESSAGE_NEEDMOREMONEY)
msg = self.npcHandler:parseMessage(msg, parseInfo)
selfSay(msg, cid)
return false
end
end