• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

onAdvance

Tarielle

New Member
Joined
Nov 4, 2007
Messages
214
Reaction score
0
Location
Sweden
Hi, what should I write in the creature.xml file when I want to add a onAdvance event?
Im using 4220niller's system
And here's a example with the .lua:

You advance in level: V
function onAdvance(cid, oldlevel, newlevel)
if newlevel == 100 then
doPlayerSendTextMessage(cid, 22, "Lalalala!")
end
end
 
Last edited:

Similar threads

Back
Top