JonatasLucas
New Member
- Joined
- Jun 12, 2013
- Messages
- 116
- Reaction score
- 3
Hello, when I create an NPC in my OTServ is giving the following error
DEFAULT.lua
use tfs 1.1 version 10.76
DEFAULT.lua
Code:
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())
use tfs 1.1 version 10.76