o.o naxedot is tfs 0.3? should work if follow the tutorial from a to zIt does not work for me. Using NaxedOt 6.5. I made all by your tips. Just nothing happens.
function onAdvance(cid, skill, oldlevel, newlevel)
if skill == SKILL__LEVEL then
doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
doCreatureAddMana(cid, getCreatureMaxMana(cid) - getCreatureMana(cid))
end
local p = getPlayerPosition(cid)
local positions = {
[1] = { pos= {x=p.x+1,y=p.y,z=p.z}, delay = 100, delay2 = 900},
[2] = { pos= {x=p.x+1,y=p.y+1,z=p.z}, delay = 200, delay2 = 980},
[3] = { pos= {x=p.x,y=p.y+1,z=p.z}, delay = 300, delay2 = 1060},
[4] = { pos= {x=p.x-1,y=p.y+1,z=p.z}, delay = 400, delay2 = 1140},
[5] = { pos= {x=p.x-1,y=p.y,z=p.z}, delay = 500, delay2 = 1220},
[6] = { pos= {x=p.x-1,y=p.y-1,z=p.z}, delay = 600, delay2 = 1300},
[7] = { pos= {x=p.x,y=p.y-1,z=p.z}, delay = 700, delay2 = 1380},
[8] = { pos= {x=p.x+1,y=p.y-1,z=p.z}, delay = 800, delay2 = 1460} }
Good work.
Code:doSendAnimatedText(p, CONFIG[skill][1] .. "["..newlevel.."]", math.random(CONST_ME_LAST))