Jump to content
×
×
  • Create New...
  • 0

Fawkzz12
 Share

Question

3 answers to this question

Recommended Posts

  • 0

ele faz sozinho isso mano kkk

local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid)			npcHandler:onCreatureAppear(cid)			end
function onCreatureDisappear(cid)		npcHandler:onCreatureDisappear(cid)			end
function onCreatureSay(cid, type, msg)		npcHandler:onCreatureSay(cid, type, msg)		end
function onThink()				npcHandler:onThink()					end

npcHandler:addModule(FocusModule:new())

 

Link to post
Share on other sites

  • 0
21 horas atrás, Fawkzz12 disse:
Versão do Servidor: TFS - 0.3.4
Tipo de Script: npc
Código:
  Mostrar conteúdo oculto



 

Esse erro fica dando assim fica sobrecarregando a distro e dando lag no servidor

erro.png

Esse problema parece que o parâmetro de algum método de string está errado. 

 

12 horas atrás, Fawkzz12 disse:

ele faz sozinho isso mano kkk


local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid)			npcHandler:onCreatureAppear(cid)			end
function onCreatureDisappear(cid)		npcHandler:onCreatureDisappear(cid)			end
function onCreatureSay(cid, type, msg)		npcHandler:onCreatureSay(cid, type, msg)		end
function onThink()				npcHandler:onThink()					end

npcHandler:addModule(FocusModule:new())

 

Só tem isso no script do npc?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share