sestorme
Member
function onAdvance(cid, skill, oldLevel, newLevel)
if skill < (getPlayerSkillLevel(cid, 5)) then
doPlayerGiveItem(cid, 2250,1)
end
return true
end
I am clueless, how to get it working? Everywhere where I seek it's only about levels, never about skills.
Thanks in advance, rep.
//edit
Changed condition into this:
if skill < (getPlayerSkillLevel(cid, SKILL_AXE)) then
and it's 100% positively added to creature events. Still not working.
if skill < (getPlayerSkillLevel(cid, 5)) then
doPlayerGiveItem(cid, 2250,1)
end
return true
end
I am clueless, how to get it working? Everywhere where I seek it's only about levels, never about skills.
Thanks in advance, rep.
//edit
Changed condition into this:
if skill < (getPlayerSkillLevel(cid, SKILL_AXE)) then
and it's 100% positively added to creature events. Still not working.