Hello I have made a lot of test for an script
and can't figure out how to make this work can you Tala~help me ?
function onCreatureSay(cid, type, msg) print("test")end : this suposed to display the text "Test" in the console of TFS but don't display nothing.
P.D: I'm using TFS rev 218 Version GUI.
and can't figure out how to make this work can you Tala~help me ?
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) print("test")end
function onThink() npcHandler:onThink() end
npcHandler:addModule(FocusModule:new())
function onCreatureSay(cid, type, msg) print("test")end : this suposed to display the text "Test" in the console of TFS but don't display nothing.
P.D: I'm using TFS rev 218 Version GUI.