Çözüldü boss a vurdukça para vermek

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

maturker5050

Odunlara Vur Vur Vur!
Katılım
15 Mart 2021
Mesajlar
41
Elmaslar
5
Puan
900
Yaş
24
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')
sorunu çözebilecek birisi varmı?
 
Böyle dener misin?​

JavaScript:
on damage:
   attacker is a player:
      victim is a zombie:
         victim's display name is "&6&lZombi &4&lKral":
            add damage to {_hsr}
            add {_hsr} to {boss.hasar.%attacker%}
            add {_hsr} * 5 to the attacker's account
 
Böyle dener misin?​

JavaScript:
on damage:
   attacker is a player:
      victim is a zombie:
         victim's display name is "&6&lZombi &4&lKral":
            add damage to {_hsr}
            add {_hsr} to {boss.hasar.%attacker%}
            add {_hsr} * 5 to the attacker's account
skriptte hata yok ancak para eklemiyor
 
tamam ekliyormuş şimdi düzeldi
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst