Ir para conteúdo

Featured Replies

Postado

Basta trocar a função ali em baixo o resto não entendi ,

function onDeath(cid, corpse, deathList)

if isPlayer(cid) and isPlayer(deathList[1]) then

heart = doPlayerAddItem(corpse.uid, 5943, 1)

doItemSetAttribute(heart,"name", "Heart of " .. getPlayerName(cid))

doItemSetAttribute(heart,"description","This is the heart of "..getPlayerName(cid).." killed at Level "..getPlayerLevel(cid).." by "..getPlayerName(deathList[1])..".")

doPlayerSendTextMessage(deathList[1], MESSAGE_STATUS_CONSOLE_ORANGE, "You Killed " .. getCreatureName(cid) .. ".")

doSendMagicEffect(getPlayerPosition(deathList[1]), 12)

end

return true

end

Editado por didito (veja o histórico de edições)

  • Respostas 19
  • Visualizações 814
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • tenta esse function onDeath(cid, corpse, deathList) if isPlayer(cid) and isPlayer(deathList[1]) then doSetItemSpecialDescription(doPlayerAddItem(deathList[1],5943, 1),"This is the heart of

  • Acho que assim devera funcionar.Não testei..

  • Vo procurar saber sobre o justa ou não.. e qualquer coisa o Max deve ver o topico e ele deve saber fazer isso..

Postado
  • Autor

Basta trocar a função ali em baixo o resto não entendi ,

Olha a imagem '-' q c vai entender ^^' o level de quem matou e c a morte foi justa ou injusta :O

          Procuro Equipe para projeto sério com remuneração, maior necessidade Programador em C\C++.

Postado

Vo procurar saber sobre o justa ou não.. e qualquer coisa o Max deve ver o topico e ele deve saber fazer isso..

function onDeath(cid, corpse, deathList)

if isPlayer(cid) and isPlayer(deathList[1]) then

heart = doPlayerAddItem(corpse.uid, 5943, 1)

doItemSetAttribute(heart,"name", "Heart of " .. getPlayerName(cid))

doItemSetAttribute(heart,"description","This is the heart of "..getPlayerName(cid).." killed at Level "..getPlayerLevel(cid).." by "..getPlayerName(deathList[1]).."I was at level "..getPlayerLevel(deathList[1])..".")

doPlayerSendTextMessage(deathList[1], MESSAGE_STATUS_CONSOLE_ORANGE, "You Killed " .. getCreatureName(cid) .. ".")

doSendMagicEffect(getPlayerPosition(deathList[1]), 12)

end

return true

end

Postado
  • Autor

Vo procurar saber sobre o justa ou não.. e qualquer coisa o Max deve ver o topico e ele deve saber fazer isso..

Bllx no agurdo Vlw mesmo até ai ^^"

Ocorreu um erro

Você já atingiu seu limite de reputações positivas para hoje

:C Mais amnhã reputo todas as modificações .-.

Editado por Fausto32 (veja o histórico de edições)

          Procuro Equipe para projeto sério com remuneração, maior necessidade Programador em C\C++.

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo