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

Lua [Movement] Player just can pass with X item

picachu

Member
Joined
Dec 2, 2007
Messages
970
Reaction score
11
I need one movement script, de um ring... It's what i need in this script:

- You must be using the Ring to get to the teleport and stay in the area.
- When taking the Ring of the slot ring or end of the ring, you are immediately teleported to the temple of the island [i change the coords].

I need this script /\
Thanks! :D
 
Code:
local teleport = { x = 100, y = 100, z = 7 }
local temple = { x = 100, y = 100, z = 7 }

function onEquip(cid, item, slot) return TRUE, doTeleportThing(cid, teleport) and doSendMagicEffect(teleport, CONST_ME_TELEPORT) and doDecayItem(item.uid) end
function onDeEquip(cid, item, slot) return TRUE, doTeleportThing(cid, temple) and doSendMagicEffect(temple, CONST_ME_TELEPORT) end
 
Back
Top