Postado Dezembro 31, 2018 6 anos bom dia, como faz pra isso aparecer em um canal específico com o nome deitados ou no serv log, atualmente aparece no defautl, obrigado Mostrar conteúdo oculto function onDeath(cid, corpse, deathList) if not isPlayer(cid) then return true end local killer = deathList[1] if isMonster(killer) then doBroadcastMessage(getCreatureName(cid).." [Level: "..getPlayerLevel(cid).."] foi morto pelo monstro "..getCreatureName(killer).."." , MESSAGE_EVENT_ORANGE) elseif isPlayer(killer) then doBroadcastMessage(getCreatureName(cid).." [Level: "..getPlayerLevel(cid).."] foi morto pelo jogador "..getCreatureName(killer).." [Level: "..getPlayerLevel(killer).."].", MESSAGE_EVENT_ORANGE) end return true end function onLogin(cid) registerCreatureEvent(cid, "DeathPlayer") return true end Editado Dezembro 31, 2018 6 anos por BilauX (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.