makavelisamojeb
New Member
- Joined
- Apr 22, 2010
- Messages
- 2
- Reaction score
- 0
realy thank you
function onUse(cid, item, fromPosition, itemEx, toPosition)
local position = {x=xxxxx, y=xxxxx, z=x} -- reward room
if getPlayerStorageValue(cid, 35700) == 1 then
doTeleportThing(cid, position)
doSendMagicEffect(position, CONST_ME_TELEPORT)
else
return false
end
return true
end