Hyagosrs
Member
- Joined
- Mar 10, 2018
- Messages
- 94
- Solutions
- 1
- Reaction score
- 11
i get an error while i say !bless, look:
and this is my bless.lua:
anyone could help me?
Lua:
2020-08-05 04:11:52 - Lua Script Error: [Scripts Interface]
2020-08-05 04:11:52 - /home/hyago/otserv/data/scripts/talkactions/player/bless.lua:callback
2020-08-05 04:11:52 - ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: attempt to index global 'Blessings' (a nil value)
2020-08-05 04:11:52 - stack traceback:
2020-08-05 04:11:52 - [C]: in function '__index'
2020-08-05 04:11:52 - ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: in function <...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:3>
and this is my bless.lua:
Code:
local bless = TalkAction("!bless")
function bless.onSay(player, words, param)
return Blessings.BuyAllBlesses(player)
end
bless:register()
anyone could help me?