Hello all,
I have a problem. I using TFS 1.0 (10.1)
This is my script:
But the animated text doesn't working (I think the TFS 1.0 don't have this function). Who can write this script to tfs 1.0?
Thanks.
I have a problem. I using TFS 1.0 (10.1)
This is my script:
PHP:
local config = {
["SWORD!"] = {pos={x=968, y=1087, z=7}, eff = CONST_ME_TELEPORT}, -- config
["AXE!"] = {pos={x=970, y=1087, z=7}, eff = CONST_ME_TELEPORT},
["CLUB!"] = {pos={x=972, y=1087, z=7}, eff = CONST_ME_TELEPORT},
["DIST!"] = {pos={x=969, y=1089, z=7}, eff = CONST_ME_TELEPORT,
["MAGIC!"] = {pos={x=971, y=1089, z=7}, eff = CONST_ME_TELEPORT}
}
}
function onThink(cid, interval, lastExecution)
for k, v in pairs(config) do
doSendMagicEffect(v.pos, v.eff)
return doSendAnimatedText(v.pos, k, math.random(1, 255))
end
return true
end
But the animated text doesn't working (I think the TFS 1.0 don't have this function). Who can write this script to tfs 1.0?
Thanks.