Ezzam
New Member
- Joined
- Jan 16, 2008
- Messages
- 213
- Reaction score
- 2
Code:
<event type="advance" name="anim" event="script" value="[COLOR="Red"][B][U]XXXX[/U][/B][/COLOR].lua"/>
XXXX.lua
Code:
function onAdvance(cid, skill, oldLevel, newLevel)
doCreatureSay(cid, SKILLS[skill]:gsub("%a", string.upper, 1) .. " UP [" .. newLevel .. "]", TALKTYPE_ORANGE_1)
return TRUE
end
in login.lua add this live over "return TRUE"
Code:
registerCreatureEvent(cid, "anim")