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

Fire Walker Boots

Jaac

[PHP] *Linux*
Joined
Dec 15, 2010
Messages
180
Reaction score
9
here is my script, it doesnt summon the monster, and when i kill the monster the teleport does not appear, also it says i need to wait 17221 seconds.
LUA:
        function onUse(cid, item, toPosition, itemEx, fromPosition)
        if getGlobalStorageValue(9872) <= 0 then       --all the ##### have to be the same
                if itemEx.itemid ==  2553 then
                teleport = doCreateTeleport(1387, {315,810,15}, {x=348, y=887, z=15})
                doItemSetAttribute(teleport, "aid", 101)
                                setGlobalStorageValue(9872, 1)
                                addEvent(function reset, 60*60*1000, setGlobalStorageValue(9872, 0) end)
								doSummonCreature("pythius the rotten", {x=343, y=887, z=15})
                return true
        end
        else
                doPlayerSendTextMessage(cid, 25, "You have to wait, it is available every 1 hour...")
        end
return true
end
 
Back
Top