-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
otserv 8.x [Original]Global Compacto Completo 8.60 [I'm Back](Links Atualizados) 1 2 3 4 10
By soldoran,
- 137 replies
- 75165 views
-
script alguém pode me ajudar nessa spells aqui, queira que colocassem pro meu personagem ficar inatingível por 6 segundos e podendo atacar livremente
By lazaroszz,
- 0 answers
- 1298 views
-
- 0 answers
- 3717 views
-
- 3 answers
- 4997 views
-
- 2 answers
- 2232 views
-

Question
Elexonic 15
function onKill(cid, target) if isPlayer(target) == TRUE then if ((isInParty(target) and isInParty(cid)) and (getPlayerParty(cid) == getPlayerParty(target))) and isPlayer(target)then broadcastMessage("**** has killed ".. getCreatureName(target).." (Justified)",MESSAGE_STATUS_WARNING) elseif getCreatureSkullType(cid) == 4 or getCreatureSkullType(cid) == 3 and getCreatureSkullType(target) == 0 and isPlayer(target)then broadcastMessage("**** has killed ".. getCreatureName(target).." (UnJustified)",MESSAGE_STATUS_WARNING) elseif getCreatureSkullType(target) == 3 or getCreatureSkullType(target) == 4 and isPlayer(target) then broadcastMessage("**** has killed ".. getCreatureName(target).." (Justified)",MESSAGE_STATUS_WARNING) end end return TRUE endEu tenho esse script e ele funciona bem, o problema é este.
Se três jogadores me matar .. três vezes a mensagem.
Se eu matar seis jogadores de seis vezes a mensagem para fora.
Eu quero apenas ir uma vez que você ver um para cada jogador.
Edited by ElexonicLink to comment
https://xtibia.com/forum/topic/202184-kills-problem/Share on other sites
6 answers to this question
Recommended Posts