Add A New Function :
function doPlayerAddLevel(cid, amount)
local level = getPlayerLevel(cid)
return doPlayerAddExp(cid, getExperienceForLevel(level+amount) - getExperienceForLevel(level))
end
Action/scripts/exp.lua :
function onUse(cid, item, frompos, item2, topos)
local pPos =...