#How do i fix this error?

1 messages · Page 1 of 1 (latest)

shut socket
#

on death:
victim is a player
attacker is a player
execute console command "eco give %attacker% 5000"
send action bar to %attacker% "<##A8A8A8>You have been given <##08FB09>10k <##A8A8A8>for killing <##D13030>%victim%"

( I have already tried doing attacker instead of %attacker% and victim instead of %victim% but its still the same error. )

somber moss
#
on death:
    victim is a player
    attacker is a player
    add 5000 to attacker's balance
    send action bar "<##A8A8A8>You have been given <##08FB09>10k <##A8A8A8>for killing <##D13030>%victim%" to attacker

Try this? (Also, I'm pretty sure you can use "player's balance" instead of execute command)

shut socket
#

imma test it now lol

somber moss
shut socket
#

but actionbar does

somber moss
#

Alright, it was just a hunch. Glad it should work now!

shut socket
#

the eco give does tho

#

ty

somber moss
#

make sure to add the "solved" tag!

#

glad to have helped

shut socket