GarQet
Own3d!
- Joined
- Feb 10, 2009
- Messages
- 1,381
- Solutions
- 14
- Reaction score
- 81
Hello, I don't know what's wrong with my script and why tfs spits by errors.
So, I have this script:
Error:
What's wrong?
So, I have this script:
Lua:
local c = {
p = 1234
}
function onSay(cid, words, param, channel)
while (getPlayerStorageValue(cid, c.p) == 1) do
addEvent(g, cid)
end
return true
end
function g(cid)
doPlayerSendTextMessage(cid, 4, "".. getCreaturePosition(cid) .."")
return true
end
[21:0:00.436] [Error - TalkAction Interface]
[21:0:00.436] In a timer event called from:
[21:0:00.436] data/talkactions/scripts/test.luanSay
[21:0:00.436] Description:
[21:0:00.436] data/talkactions/scripts/test.lua:9: attempt to concatenate a table value
[21:0:00.436] stack traceback:
[21:0:00.436] data/talkactions/scripts/test.lua:9: in function <data/talkactions/scripts/test.lua:8>
What's wrong?
Last edited: