local config = {
levelReach = 50,
item = 2160,
count = 50
}
function onAdvance(cid, skill, oldLevel, newLevel)
if(skill == SKILL__LEVEL and newLevel >= config.levelReach and getPlayerStorageValue(cid, 58557) == -1) then
setPlayerStorageValue(cid, 58557, 1)
doPlayerAddItem(cid, config.item, config.count)
end
return TRUE
end