Hello Guy`s
When buy items from shop, have Erro?
but i can buy skin amulet, other items not, why?
Tfs 0.4
Tibia Clinet 8.60
When buy items from shop, have Erro?
but i can buy skin amulet, other items not, why?
Tfs 0.4
Tibia Clinet 8.60
Lua:
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
local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)
shopModule:addBuyableItem({'star amulet'}, 2131, 4000000, 'star amulet')
shopModule:addBuyableItem({'ruby necklace'}, 2133, 2000000, 'ruby necklace')
shopModule:addBuyableItem({'emerald bangle'}, 2127, 3500000,'emerald bangle')
shopModule:addBuyableItem({'stone skin amulet'}, 2197, 10000, 5,'stone skin amulet')
npcHandler:addModule(FocusModule:new())
Attachments
-
Untitled.png30.3 KB · Views: 7 · VirusTotal