function onUse(cid, item, frompos, item2, topos)
if item.uid == 11552 then -- This number you will imput into map editor for the door you wish
queststatus = getPlayerStorageValue(cid,11552) -- Quest number that needs to be COMPLETE.
area = {x=996, y=992, z=7} -- If that above quest is complete, It will teleport you here.
if queststatus == -1 then
doCreatureSay(cid, "You don't have Vip Access! Buy Vip Access in sms shop.", TALKTYPE_ORANGE_1)
else
doTeleportThing(cid, area,0)
doSendMagicEffect(topos, 12)
doCreatureSay(cid, "Welcome on Vip Land!", TALKTYPE_ORANGE_1)
end
end
return 1
end