Ir para conteúdo

Featured Replies

Postado

Eu gostaria de pedir que só ganha coração matando um player lvl 300 + olha a spell ai 

 

 

function onDeath(cid, corpse, deathList)
 
local heart = doPlayerAddItem(deathList[1],5943, 1)
 
if isPlayer(cid) and isPlayer(deathList[1]) then
 
doItemSetAttribute(heart, "name", " Coração de " ..getPlayerName(cid).. "")
doItemSetAttribute(heart, "description", " Morto no Level "..getPlayerLevel(cid).." Assassinado Por "..getPlayerName(deathList[1])..". " .. (getCreatureSkullType(cid) <= SKULL_GREEN and "(Morte Injustificada)" or "(Morte Justificada)"))
end
return true
end

Ajudei Rep+ :D

Resolvido por Rusherzin

Ir para solução
  • Respostas 6
  • Visualizações 478
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Não testei, mas, tente:   function onDeath(cid, corpse, deathList) local heart = doPlayerAddItem(deathList[1],5943, 1) if isPlayer(cid) and getPlayerLevel(cid) >= 300 and isPlayer(deathList[

  • Okay, que estranho, tenta assim:   function onDeath(cid, corpse, deathList) if isPlayer(cid) and getPlayerLevel(cid) >= 300 and isPlayer(deathList[1]) then local heart = doPlayerAddItem(death

Postado

Não testei, mas, tente:
 

function onDeath(cid, corpse, deathList)
 
local heart = doPlayerAddItem(deathList[1],5943, 1)
 
if isPlayer(cid) and getPlayerLevel(cid) >= 300 and isPlayer(deathList[1]) then
 
doItemSetAttribute(heart, "name", " Coração de " ..getPlayerName(cid).. "")
doItemSetAttribute(heart, "description", " Morto no Level "..getPlayerLevel(cid).." Assassinado Por "..getPlayerName(deathList[1])..". " .. (getCreatureSkullType(cid) <= SKULL_GREEN and "(Morte Injustificada)" or "(Morte Justificada)"))
end
return true
end

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

Postado
  • Autor

quando eu mato alguém lvl 150 a 299 eu ganho coração sem informação tipo esse You see the Coração. só fica com a informação lvl 300 +.

eu kero q quando tiver abaixo do 300 n ganhar nem um tipo de coração tem como ai tipo nto ultimate vlw ai

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

Ajudei Rep+ :D

Postado

Não entendi qual exatamente é o problema, tente explicar melhor, por favor.

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

Postado
  • Autor

quando eu mato alguém lvl 150 a 299 eu ganho coração sem informação tipo esse You see the Coração. só fica com a informação lvl 300 +.

eu kero q quando tiver abaixo do 300 n ganhar nem um tipo de coração tem como ai tipo nto ultimate vlw ai

Ajudei Rep+ :D

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.6k

Informação Importante

Confirmação de Termo