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

Return Scrool

mesosot

Member
Joined
Aug 16, 2007
Messages
356
Reaction score
5
Hello there

im looking for scripts for item named " return scroll " my new idea ...

that the player when use item Id = xxxx

and he have no fight .... he get teleported to X y Z ... if some one can help here it be cool
 
tp scroll here

PHP:
local scroll = xxxx   item id
local temple = {x=xxxxx, y=xxxxx, z=x}   position
local level = 25    level to use 

function onUse(cid, item, frompos, item2, topos)
    if item.itemid == scroll and getPlayerLevel(cid) >= level then
        doTeleportThing(cid, temple, TRUE)
        doSendMagicEffect(temple,10)
        doSendAnimatedText(temple, "You are in temple!", 6)
        doRemoveItem(cid, item.uid, 1)
    else
        doPlayerSendCancel(cid, "Sorry, your level must higher than 25!")
    end
return 1
end
 
Back
Top