Hello I need some help with my exp scroll script, when someone goes from 180 to 220 he gets 2 "Congratulations, level up" messages at same time, and 80 levels instead of 40.
Thx for help.
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(getPlayerLevel(cid) <= 200) then...