Elite Questbane
Sylphera.com
Hey, I've just opened my server and I've got lot complains over the auto-reward you should get when 50. The script should work so I don't know what the problem is.
Anyway here's the code:
Anyway here's the code:
Lua:
function onAdvance(cid, skill, oldLevel, newLevel)
if newlevel == 50 then
doPlayerAddItem(cid, 2160, 5)
doPlayerSendTextMessage(cid, 22, "Congratulations! You have been awarded 5 crystal coins.")
end
return TRUE
end