• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Action random tp rune

wlj

retierd
Joined
Jan 7, 2009
Messages
1,201
Best answers
0
Reaction score
1
for 0.3.5pl1

Lua:
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
end
return 1
end
 

Stealthz

New Member
Joined
Oct 22, 2009
Messages
25
Best answers
0
Reaction score
0
Interesting!

:p could be a random event like a roulletee system or something
 

Elexonic

Well-Known Member
Joined
Jun 18, 2008
Messages
1,921
Best answers
0
Reaction score
58
Could be done that it is on having given him to a lever or Teleport¿?

For Tfs 0.3.5 Pl1

Rthx.
 

Rachaw

Experienced Member
Joined
Oct 17, 2009
Messages
602
Best answers
0
Reaction score
1
Location
Tha Sweden
Lua:
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
 
Top