if isPlayerVip(cid) == FALSE then
<?xml version="1.0" encoding="UTF-8"?>
<mod name="antiexp" author="C" enabled="yes">
<config name="settings">
<![CDATA[
limitLevel = 300
]]>
</config>
<event type="login" name="antiexp" event="script">
<![CDATA[
domodlib('settings')
function onLogin(cid)
if getPlayerVipDays(cid) < 1 and getPlayerLevel(cid) >= limitLevel then
doPlayerSetRate(cid, SKILL__LEVEL, 0)
end
return true
end
]]>
</event>
</mod>
function onAdvance(cid, oldlevel, newlevel)
if getPlayerVipDays(cid) == 0 and getPlayerLevel(cid) == 300 then
doPlayerSetRate(cid, SKILL__LEVEL, 0)
end
return true
end
CyberM
I tested it and check it:
http://img263.imageshack.us/img263/9831/probelm.png
How to repair it?