Jump to content

Question

Estou criando um npc que dá o pokemon inicial porém, ele está dando um erro dizendo que falta um END no fim, só que mesmo eu colocando não vai.

 

[10/06/2021 08:58:25] [Error - LuaScriptInterface::loadFile] datapack/npc/scripts/carvalho.lua:55: 'end' expected (to close 'function' at line 16) near 'elseif'
[10/06/2021 08:58:25] [Warning - NpcScript::NpcScript] Cannot load script: datapack/npc/scripts/carvalho.lua
[10/06/2021 08:58:25] datapack/npc/scripts/carvalho.lua:55: 'end' expected (to close 'function' at line 16) near 'elseif'

 

image.thumb.png.ffa87410385b3533e12b492fd101f8db.png

Se alguém puder me ajudar é noizzz :3

 

Link to comment
https://xtibia.com/forum/topic/253100-npc-dando-erro/
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Em 10/06/2021 em 12:03, georgelxll disse:

Eu li e consegui resolver ..

 

Que bom que conseguiu resolver! Entretanto, informe a solução para que futuramente outras pessoas com o mesmo problema consigam resolver o problema. Pode editar o post que criou o tópico mesmo.

Link to comment
https://xtibia.com/forum/topic/253100-npc-dando-erro/#findComment-1765373
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...