Postado Fevereiro 12, 2013 12 anos 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 Fevereiro 12, 2013 12 anos por didito (veja o histórico de edições)
Postado Fevereiro 12, 2013 12 anos 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 Procuro Equipe para projeto sério com remuneração, maior necessidade Programador em C\C++.
Postado Fevereiro 12, 2013 12 anos 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 Fevereiro 12, 2013 12 anos 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 Fevereiro 12, 2013 12 anos 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.