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

Demon oak need help (look please)

lajrek34a

New Member
Joined
Sep 15, 2009
Messages
117
Reaction score
0
Hiho, i have this script :demonOakGravestone.lua
my question is how add to this script text: You already got your reward.
When i got reward and want go again to this room.

Code:
  function onUse(cid, item, fromPosition, itemEx, toPosition)
local position = {x=119, y=152, z=8} -- reward room
        if getPlayerStorageValue(cid, 35700) > 1 then
                doTeleportThing(cid, position)
                doSendMagicEffect(position, CONST_ME_TELEPORT)
        else
                return FALSE
        end
        return TRUE
end
 
Back
Top