kozmo
Member
- Joined
- Jan 30, 2009
- Messages
- 443
- Solutions
- 2
- Reaction score
- 23
Trying to get a custom autoloot script to work in OTServbr 12.6 - TFS 1.3
When kill monster to Loot Item get this Error
Lua:
local autoLoot_onModalWindow = CreatureEvent("autoLoot_onModalWindow")
local autoLoot_onDeath = CreatureEvent("autoLoot_onDeath")
local autoLoot_onKill = CreatureEvent("autoLoot_onKill")
function autoLoot_onModalWindow.onModalWindow(player, mwID, buttonID, choiceID)
print("temp if modal window was activated")
return autoLoot_handleMW(player, mwID, buttonID, choiceID) end
function autoLoot_onDeath.onDeath(creature, corpse) return autoLoot_onDeath(creature, corpse) end
function autoLoot_onKill.onKill(killer, target) return autoLoot_onKill(killer, target) end
autoLoot_onModalWindow:register()
autoLoot_onDeath:register()
autoLoot_onKill:register()
When kill monster to Loot Item get this Error
Attachments
-
123.png16 KB · Views: 29 · VirusTotal
Last edited: