function onAdvance(cid, skill, oldlevel, newlevel)
local config = {
level = 100,
storage = 9000,
startLevel = 8
}
local tPos = {x =739, y =1336, z =7}
if(skill == SKILL__LEVEL and newlevel >= config.level and getPlayerStorageValue(cid, storage) ~= 1) then...