Ir para conteúdo
  • 0

Pergunta

3 respostass a esta questão

Posts Recomendados

  • 0
function onKill(cid, target)
	if isPlayer(target) then
		doBroadcastMessage(getCreatureName(cid)..' ['..getPlayerLevel(cid)..'] matou '..getCreatureName(target)..' ['..getPlayerLevel(target)..']', 18)
	end
	return true
end

creaturescripts.xml

<event type="kill" name="broadcast kill" script="broadkill.lua"/>

registra no login.lua também

registerCreatureEvent(cid, "broadcast kill")
Link para o comentário
https://xtibia.com/forum/topic/221528-chat-kill-no-default/#findComment-1564418
Compartilhar em outros sites

×
×
  • Criar Novo...