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

I Need an action for teleport by statue.

martinadicto

New Member
Joined
Jan 10, 2011
Messages
21
Reaction score
1
hi people, i need know how make an action to teleport to [1000,1000,7] with statue the id of statues is 3740 an 3742.

someone can help me?
:(
I have alissow server
0.4.1

thanks.
 
you want to be teleported to the temple? if you do try this
statue.lua
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
		doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
		doSendMagicEffect(getTownTemplePosition(getPlayerTown(cid)), CONST_ME_ENERGYAREA)
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have been teleported.")
	return true
end
actions.xml
XML:
<action itemid="3740" script="statue.lua"/>
 
Back
Top