• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

broadcast on lvl up

Gsp

RP
Joined
Jan 3, 2008
Messages
250
Solutions
1
Reaction score
5
guys im looking for a scritp that will broadcast a msg like "[name] is lvl 100 now!!!!" when player reaches lvl 100 can someone help me xD
 
data/creaturescripts/scripts/100lvl.lua
PHP:
function onAdvance(cid, skill, oldlevel, newlevel)
if newlevel == 100 then
doBroadcastMessage(getPlayerName(cid).." is lvl 100 now!!!!", 21)
end
end
in creaturescripts.xml
PHP:
<event type="advance" name="100lvl" script="100lvl.lua" />
 
Back
Top