• 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!

need teleportion rune/action

pizza88

New Member
Joined
Jan 11, 2009
Messages
51
Reaction score
0
Location
Germany
hi
I need a rune or a command, who teleport players to city (x= 1000 y= 1000 z= 7)
can someone help me ??




________
Sorry for my bad english i'm german
 
PHP:
function onSay(cid, words, param)
teleportTo = {x=1000, y=1000, z=7}
pos = getCreaturePosition(cid)
doTeleportThing(cid, teleportTo, TRUE)
doSendMagicEffect(pos, 10)
doSendMagicEffect(teleportTo, 10)
return TRUE
end

Rep!
 
Create a new file name it tppos.lua on data/talkactions/scripts and paste it in that file

In data/talkactions/ open talkactions.xml and paste this:

Code:
<talkaction words="!tp" script="tppos.lua"/>
 
Moderator Message: Please create threads in the correct sections at this forum, if you need help with scripts like this, the "Request and Support" in XML and LUA section may fit.
 
Back
Top Bottom