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.
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