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

Creating special items

Bondy

New Member
Joined
Mar 28, 2009
Messages
282
Reaction score
1
Could anyone create a rune for me that when u use it you get teleported to Thais temple? with one charge

can someone make a mix of softs and boh for me? and call them "boots of magic"?

I am really looking for someone to help me to edit items and create donator items, etc, would appreciate it a lot.

thanks!
 
Code:
local scroll = xxxx   item id
local temple = {x=xxxx, y=xxxx, z=x}   position
local level = 25    level to use 
function onUse(cid, item, fromPosition, itemEx, toPosition)
local pos = {x=1078,y=984,z=9} --change {x=1078,y=984,z=9} to your
    if item.itemid == XXXX and item.actionid == 7548 and isPlayerPzLocked(cid) == FALSE then --item.itemid == XXXX (change XXXX to scroll id)
        doSendMagicEffect(cid, CONST_ME_POFF)
        doTeleportThing(cid, local.pos)
    elseif isPlayerPzLocked(cid) == TRUE then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have pz lock, try again when u don't have it.")
        return FALSE
    end
end

there you go.

Just replace add the actionID in actions.xml and make the rune item ID with this script.
Well i'm sure you know how to do that =)
 
Back
Top