function onAdvance(cid)
if getPlayerLevel(cid) >= 40 then
doPlayerAddExperience(cid, (getExperienceForLevel(40) - getPlayerExperience(cid)))
end
return true
end
przerób sobie tu wystarczy zmysł edycji
function onAdvance(cid, skill, oldLevel, newLevel)
if(newLevel > 40 and skill == SKILL_LEVEL) then
return false
end
return true
end
przerób sobie tu wystarczy zmysł edycji
to niech sie nie bierze za ots coś w koncu trzeba umieć.