local config =
{
item = 8978, --Make this the item id of your scroll
level = 1, -- Make this the level required to use it
storage = 1595 -- Make this the storage value for ur VIP
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= config.level then
doPlayerSendTextMessage(cid, 21, "You are now VIP!")
setPlayerStorageValue(cid,config.storage,1)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry, your level is to low to use this scroll.")
end
return 1
end