straher
???
- Joined
- Mar 23, 2010
- Messages
- 255
- Reaction score
- 3
Hi. I've found on forum this kind of teleport rune, however I need it to be transformated to movement action with specified actionID
here's the script
Help! Please!
here's the script
Code:
function onUse(cid, item, frompos, item2, topos)
local pos =
{x=10, y=10, z=7},
{x=20, y=20, z=7},
{x=30, y=30, z=7},
{x=40, y=40, z=7}} -- position to teleport.
local rand = math.random(1, #pos)
doTeleportThing(cid, pos[rand])
doSendMagicEffect(10, pos[rand])
end
return TRUE
end
Help! Please!