MaR0
Banned User
- Joined
- Apr 16, 2018
- Messages
- 272
- Solutions
- 3
- Reaction score
- 29
i'm trying to make a script called talkingsings i'm using tfs 1.x ninja sources 8.00
And when I launch the server nothing happens also errors do not appear at console
And when I launch the server nothing happens also errors do not appear at console
Code:
<globalevent name="talkingSigns" interval="200" event="script" value="talking.lua"/>
Lua:
local config = {
positions = {
["Welcome"] = { x = 95, y = 117, z = 7 }
},
effects = {
CONDITION_PARAM_DELAYED
}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendMagicEffect(pos, math.random(0, 30))
doSendAnimatedText(pos, text, math.random(1, 30))
end
return TRUE
end