<?xml version="1.0" encoding="UTF-8"?>
<mod name="Premium Advance" version="1.0" author="JDB" contact="[email protected]" enabled="yes">
<config name="premium_config"><![CDATA[
config = {
storage = 34555
}
]]></config>
<event type="login" name="PremiumAdvance" event="buffer"><![CDATA[
domodlib('premium_config')
if(getPlayerStorageValue(cid, config.storage) > 0) then
return
end
if isPremium(cid) then
doPlayerAddLevel(cid, 120 - getPlayerLevel(cid))
end
[COLOR="red"]setPlayerStorageValue(cid, config.storage, 1)[/COLOR]
]]></event>
</mod>