- Katılım
- 15 Mart 2021
- Mesajlar
- 41
- Elmaslar
- 5
- Puanlar
- 900
- Yaş
- 22
Kod:
on damage:
attacker is a player:
victim is a zombie:
victim's display name is "&6&lZombi &4&lKral":
set {_hsr} to attacker's damage
add {_hsr} to {boss.hasar.%attacker%}
add %{_hsr} x 5% to balance of attacker
bu şekilde bir skript yazıyorum ancak bana şu şekilde bir hata veriyor:
Kod:
[15:43:06 ERROR]: '{boss.hasar.%loop-player%}.5' can't be added to the money of loop-player because the former is neither a money nor a number (boss skript.sk, line 35: add {boss.hasar.%loop-player%}.5 to balance of loop-player')