I don't understand what your trying to accomplish with the array?I tried inside npc.lua this and don't work, how its should work?
LUA:npcHandler:say({"Hello |PLAYERNAME|. "}, cid)
tfs 1.2
npcHandler:say("Hello |PLAYERNAME|. ", cid)
Try to use
LUA:npcHandler:say("Hello ' .. cid:getName() .. '. ", cid)
Thanks all, used: player:getName()
npcHandler:say("Good bye ".. getPlayerName(cid) ..".", cid)
npcHandler:say("Good bye ".." |PLAYERNAME| "..".", cid)
npcHandler:say("Good Bye |PLAYERNAME|. ", cid)
npcHandler:setMessage(MESSAGE_GREET, "Welcome on board, Sir ".." |PLAYERNAME| "..".")
npcHandler:say("Good bye ".. getPlayerName(cid) ..".", cid)
npcHandler:say("Good bye ".. getCreatureName(cid) ..".", cid)
Good bye Tester.