--[[As skills são: SKILL_FIST = 0 SKILL_CLUB = 1 SKILL_SWORD = 2 SKILL_AXE = 3 SKILL_DISTANCE = 4 SKILL_SHIELD = 5 SKILL_FISHING = 6 SKILL__MAGLEVEL = 7 SKILL__LEVEL = 8 ]] function onAdvance(cid, skill, oldlevel, newlevel) local Skill = 8 local Level = 10 local Msg = "".. getCreatureName(cid) .."has reached ".. newlevel .."." if skill == Skill and newlevel == Level then doBroadcastMessage(Msg) end return true end
É um creaturescript, logo, deve colocá-lo em data/creaturescripts/scripts
Em data/creaturescripts/creaturescripts.xml coloque:
<event type="advance" event="script" value="NOMEDOARQUIVO.lua"/>






info
Group: Campones
Joined: 01/02/09
Posts: 18
Reputation: +5
Tibia Character: Nabuconozzor
To querendo um script que quando o player pega um determinado level aparece para todo mundo...
Nome do player Reached Has Level 100 ow 200 ow 300 ow 400.
tbm queria de skill quando ele pega um determinado skill e ML aparece
Nome do player Reached Has Axe fighting 100.
:withstupidsmiley:
Edited Setembro 12 by ka9