• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

how to make a working teleport statue (REP++)

Dramix

New Member
Joined
Jun 26, 2009
Messages
289
Reaction score
1
Hello, i want a script thats work, when rightclick on a statue you will get teleported to x-y-z, thx ;D i got [8.62] The Forgotten Server v0.2.8 (Mystic Spirit) ! thx!! REP!!
 
data/actions/scripts/statue.lua
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
         doTeleportThing(cid, {x=EDIT, y=EDIT, z=EDIT})
         return true
end

data/actions/actions.xml
XML:
<action uniqueid="25879" event="script" value="statue.lua"/>
Put UID 25879 for statue.
 
Back
Top