Hello Otlands people!
i have write a code so all my chest on the server that have actionid "2000" and random unique id will be rewarded when they open the chest.
But the problem is i dont get any error in the console and it will only open the chest. I hope anyone could help me with a clean code
Quest Chest 10.98 TFS 1.3 PROBLEM
i have write a code so all my chest on the server that have actionid "2000" and random unique id will be rewarded when they open the chest.
But the problem is i dont get any error in the console and it will only open the chest. I hope anyone could help me with a clean code
XML:
<action actionid="2000" script="quests.lua" /> <!-- quests -->
Lua:
local quest = {
[2000] = Reward
}
function onUse(player, item, fromPosition, target, toPosition...