I am trying to show the drops display names the player has received in send.
Also, if there is no drop add the command.
I guess it just shows items id, I will trying to convert it to display name.
Also, if there is no drop add the command.
Code:
on death:
if attacker is a player:
if victim isn't a player:
set {_drops::*} to drops
remove drops from the drops
wait 5 ticks
add {_drops::*} to attacker's inventory
loop all players in radius 15 of the attacker:
send "&6%attacker%&6 Drops: %{_drops::*}%" to loop-player
I guess it just shows items id, I will trying to convert it to display name.
Last edited: