local levelup=0
function OnLoad()
PrintChat("Jayce LevelUP TEST")
end
function OnTick()
if levelup==1 then
LevelSkill(SPELL_2)
PrintChat("Tried LevelUP !!")
end
end
function OnWndMsg(msg,key)
if IsKeyDown(string.byte("K")) then
levelup=1
PrintChat("levelup=1 !!")
end
end
Comments