local storage = 9001
function onAdvance(cid, skill, oldLevel, newLevel)
if skill == SKILL__LEVEL and newLevel > oldLevel and getPlayerStorageValue(cid, storage) < newLevel then
setPlayerStorageValue(cid, storage, newLevel)
doPlayerAddMoney(cid, (newLevel - oldLevel) * 500)
end
return true
end
I think it work from ~0.2.3How do you add this? and does it work for my 0.2.7?![]()
How do you add this? and does it work for my 0.2.7?![]()