Çözüldü Skriptte ki hata nerede?

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

UchihaNaruto

Koydum Çalışma Masasını
Katılım
21 Aralık 2020
Mesajlar
50
Elmaslar
3
Puan
195
Yaş
29
PvP sunucum için şunun gibi bir skript hazırladım ama oyuncu birini öldürünce hem 10 tl hem 20 tl gidiyor.
Kod:
on death:
    if victim has permission "oyuncu.para":
    attacker is a player
    victim is a player
    execute console command "eco give %attacker% 10"

on death:
    if victim has permission "lapis.para":
    attacker is a player
    victim is a player
    execute console command "eco give %attacker% 20"
 
Sanırsam tab hatası var şöyle denermisin?

Kod:
on death:
    if victim has permission "oyuncu.para":
        attacker is a player
        victim is a player
        execute console command "eco give %attacker% 10"

on death:
    if victim has permission "lapis.para":
        attacker is a player
        victim is a player
        execute console command "eco give %attacker% 20"
 
Sanırsam tab hatası var şöyle denermisin?

Kod:
on death:
    if victim has permission "oyuncu.para":
        attacker is a player
        victim is a player
        execute console command "eco give %attacker% 10"

on death:
    if victim has permission "lapis.para":
        attacker is a player
        victim is a player
        execute console command "eco give %attacker% 20"
Bu sefer hiç para gelmedi.
 
Bu sefer hiç para gelmedi.
konsol komutu yerine add (miktar) to player's money deneyin
Kod:
on death:
    if victim has permission "oyuncu.para":
        attacker is a player
        victim is a player
        add 20 to attacker's money

on death:
    if victim has permission "lapis.para":
        attacker is a player
        victim is a player
        add 20 to attacker's money
 
konsol komutu yerine add (miktar) to player's money deneyin
Kod:
on death:
    if victim has permission "oyuncu.para":
        attacker is a player
        victim is a player
        add 20 to attacker's money

on death:
    if victim has permission "lapis.para":
        attacker is a player
        victim is a player
        add 20 to attacker's money
Teşekkürler :)
 
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