Postado Junho 26, 2018 7 anos Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Ex. TFS 1.3; Base: Qual erro está surgindo/O que você procura? Estou tentando adicionar alguns itens ao rashid,porem quando eu adiciono os itens e salvo,ele nao aparece no mapa,e quando esta sem itens para vender,ele aparece no mapa local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function thinkCallback(cid) local rand = math.random(1,100) if rand == 1 then selfSay('Compro armaduras e escudos, pago muito bem. Além disso, sou o unico que compro.') end return true end function greetCallback(cid) return true end local shopModule = ShopModule:new() npcHandler:addModule(shopModule) shopModule:addSellableItem({'crown armor', 'ca'}, 2487, 20000, 'crown armor') shopModule:addSellableItem({'magic sword', 'ms'}, 2400, 200000, 'magic sword') shopModule:addSellableItem({'demonrage sword', 'ds'}, 7382, 40000, 'demonrage sword') shopModule:addSellableItem({'justice seeker', 'js'}, 7390, 100000, 'justice seeker') shopModule:addSellableItem({'dragon slayer', 'ds'}, 7402, 20000, 'dragon slayer') shopModule:addSellableItem({'thunder hammer', 'th'}, 2421, 200000, 'thunder hammer') shopModule:addSellableItem({'skull staff', 'ss'}, 2436, 10000, 'skull staff') shopModule:addSellableItem({'blessed sceptre, 'bs'}, 7429, 100000, 'blessed sceptre') shopModule:addSellableItem({'stonecutter axe', 'sa'}, 2431, 200000, 'stonecutter axe') shopModule:addSellableItem({'heroic axe', 'ha'}, 7389, 20000, 'heroic axe') shopModule:addSellableItem({'noble axe', 'na'}, 7456, 10000, 'noble axe') shopModule:addSellableItem({'royal axe', 'ra'}, 7434, 100000, 'royal axe') shopModule:addSellableItem({'composite hornbow', 'ch'}, 8855, 40000, 'composite hornbow') shopModule:addSellableItem({'focus cape', 'fc'}, 8871, 10000, 'focus cape') shopModule:addSellableItem({'paladin armor', 'pa'}, 8891, 40000, 'paladin armor') npcHandler:setCallback(CALLBACK_ONTHINK, thinkCallback) npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:addModule(FocusModule:new()) Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.