Yuji
Helper
Hey can some one help me with this script please, its for a premium area, but i need it to where its on a door of experence. So some with premium can only enter this door. Thanks 
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPremium(cid) and getPlayerLevel(cid) >= 100 then
doTransformItem(item.uid, item.itemid + 1)
doTeleportThing(cid, toPosition, true)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'This door seems to be locked.')
end
return true
end