Art2 2 Posted October 20, 2014 Boas comunidade, eu gostaria de saber qual função eu usaria em uma quest para toda vez que um player matar outro aparecer ser no chat : Art2 reino chunjo matou Art1 do reino jino Art2 = Player x Art1 = Player y Share this post Link to post Share on other sites
Shad0w 347 Posted October 20, 2014 Tenta ver isso na quest de quando se mata os boss.. nunca tentei fazer isso mais posso tentar para ver se te consigo ajudar :p 1 Art2 reacted to this Share this post Link to post Share on other sites
Art2 2 Posted October 20, 2014 Tenta ver isso na quest de quando se mata os boss.. nunca tentei fazer isso mais posso tentar para ver se te consigo ajudar :p Posso te add Skype ? Share this post Link to post Share on other sites
Shad0w 347 Posted October 20, 2014 Posso te add Skype ? [CoMa]NoNaMe 1 Art2 reacted to this Share this post Link to post Share on other sites
Karbust 1,143 Posted October 20, 2014 quest npcgetvid begin state start begin when kill with npc.is_pc() begin local vid = npc.get_vid() local old_pc = pc.select(vid) if old_pc != 0 then local lev = pc.get_level() local name = pc.get_name() pc.select(old_pc) notice_all("O player "..pc.get_name()..", matou "..name.." do nível "..lev..".") end end endend 1 Art2 reacted to this Share this post Link to post Share on other sites
Art2 2 Posted October 20, 2014 quest npcgetvid begin state start begin when kill with npc.is_pc() begin local vid = npc.get_vid() local old_pc = pc.select(vid) if old_pc != 0 then local lev = pc.get_level() local name = pc.get_name() pc.select(old_pc) notice_all("O player "..pc.get_name()..", matou "..name.." do nível "..lev..".") end end endend So funciona de player contra player ou funciona com gm e player ? Share this post Link to post Share on other sites
Karbust 1,143 Posted October 20, 2014 Funciona ker seja player ou GM... Share this post Link to post Share on other sites
Art2 2 Posted October 22, 2014 Funciona ker seja player ou GM... Eu testei um Gm matando um char player e nada aconteceu Share this post Link to post Share on other sites