what the script should do:
when the Chars takes lvl 50 it´s the adds money to the Char
plz help me!
when the Chars takes lvl 50 it´s the adds money to the Char
function onAdvance(cid, skill, oldlevel, newlevel)
if skill == 50 then
doPlayerAddItem(cid, 2160, 5)
doSendMagicEffect(position, CONST_ME_HITBYFIRE)
end
return TRUE
end
plz help me!