Hi!
I have a creaturescripts that when you kill some player, it appears a broadcast!
Take a look on my script:
But when some player die, it appears like
13:42 Yaeuha killed by player Suahsz
13:42 Yaeuha killed by player Maquiean
13:42 Yaeuha killed by player Spolzisak
I want that appears:
13:42 Yaeuha killed by players Suahsz, Maquiean and Spolzisak.
I have a creaturescripts that when you kill some player, it appears a broadcast!
Take a look on my script:
function onLogin(cid)
registerCreatureEvent(cid, 'own')
return true
end
function onKill(cid, target, lastHit)
if isPlayer(cid) and isPlayer(target) and lastHit then
doBroadcastMessage(getCreatureName(target) ..' morreu para o player '.. getCreatureName(cid))
end
return true
end
But when some player die, it appears like
13:42 Yaeuha killed by player Suahsz
13:42 Yaeuha killed by player Maquiean
13:42 Yaeuha killed by player Spolzisak
I want that appears:
13:42 Yaeuha killed by players Suahsz, Maquiean and Spolzisak.