/home/hyago/otserv/data/scripts/talkactions/player/bless.lua:callback
2020-08-05 03:43:37 - ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: attempt to index global 'Blessings' (a nil value)
stack traceback:
2020-08-05 03:43:37 - [C]: in function '__index'
2020-08-05 03:43:37 - ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: in function <...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:3>
essa é minha bless.lua:
local bless = TalkAction("!bless")
function bless.onSay(player, words, param)
return Blessings.BuyAllBlesses(player)
end
bless:register()
Pergunta
Hyagosrs 0
Estou com erro quando uso o comando !bless.
/home/hyago/otserv/data/scripts/talkactions/player/bless.lua:callback 2020-08-05 03:43:37 - ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: attempt to index global 'Blessings' (a nil value) stack traceback: 2020-08-05 03:43:37 - [C]: in function '__index' 2020-08-05 03:43:37 - ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: in function <...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:3>
essa é minha bless.lua:
local bless = TalkAction("!bless") function bless.onSay(player, words, param) return Blessings.BuyAllBlesses(player) end bless:register()
estava desorganizado
Link para o comentário
Compartilhar em outros sites
2 respostass a esta questão
Posts Recomendados