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

HELP! Script (:

Zarabustor

Human Being
Joined
Sep 10, 2009
Messages
186
Reaction score
0
Location
Cancun, Mexico
Code:
        if getPlayerStorageValue(cid, 558555) > os.time() then
                if (getPlayerStorageValue(cid, 558555) - os.time()) == 1 then
                        letter = ""
                else
                        letter = "s"
                end
                doPlayerSendCancel(cid, 'You must wait ' .. getPlayerStorageValue(cid, 558555) - os.time() .. ' second' .. letter .. '.')
                doSendMagicEffect(position, 2)
                return TRUE
        elseif getCreatureCondition(cid, CONDITION_EXHAUST) == FALSE and getCreatureCondition(cid, CONDITION_INFIGHT) == FALSE then
                        doCreateTeleport(1387, temple, topos)
                doSendMagicEffect(topos, 10)
                doSendMagicEffect(topos, 55)
                doSendMagicEffect(topos, 56)
                        setPlayerStorageValue(cid, 558555, os.time() + exhausttime)
                doSendAnimatedText(topos, '10', TEXTCOLOR_RED)
                        addEvent(nineSeconds, 1000)
                        addEvent(eightSeconds, 2000)
                        addEvent(sevenSeconds, 3000)
                        addEvent(sixSeconds, 4000)
                        addEvent(fiveSeconds, 5000)
                        addEvent(fourSeconds, 6000)
                        addEvent(threeSeconds, 7000)
                        addEvent(twoSeconds, 8000)
                        addEvent(oneSecond, 9000)
                        addEvent(removeTP, 10000)
        else
                doPlayerSendCancel(cid, 'You are in a fight!')
        end

        return TRUE
end

Could you please help me to add this advanced teleport (is the end of the scrtip) but i want that the item cant be used on PZ, when you try to use in a PZ says something like Destination not ranchable:P

Adding rep if you help me+9
 
Back
Top