hello i releasing mine idea its realy easy script but i think idea is not bad... then player advance 200 lvl will by autobroadcast... playname advanced 200 lvl i hope us enjoy it and dont forgot to rep me
Peapols Like's thoose things
xml:
level.lua
and put in login.lua
here is ss how it looking.
Peapols Like's thoose things
xml:
Code:
<event type="advance" name="level" event="script" value="level.lua"/>
level.lua
Lua:
function onAdvance(cid, skill, oldlevel, newlevel)
local name = getCreatureName(cid)
if(getPlayerStorageValue(cid, 9963) ~= 1 and skill == SKILL__LEVEL and newlevel >= 200) then
doBroadcastMessage("CONGRATULATIONS " .. name .. "! You advanced 200 level!")
setPlayerStorageValue(cid, 9963, 1)
end
return TRUE
end
and put in login.lua
Code:
registerCreatureEvent(cid, "level")
here is ss how it looking.