YARDIM HANGİ BÖLÜMÜ YANLIŞ

  • Konuyu Başlatan Konuyu Başlatan Vezirx
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.260
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Kod:
on join:
    set the freeze state of player to false
    
command /polistabanca:
    permission: polis.tabanca
    permission message: &4Bu Silahı Sadece Polisler Alabilir
    trigger:
        give a iron hoe named "&bŞok Tabancası" with lore "LORE" to player
        send "&8Silahınız Başarıyla Verildi!"
        stop

on damage of player:
    if display name of attacker's tool contains "&bŞok Tabancası":
        set the freeze state of victim to true
        wait 10 second
        set the freeze state of victim to false

on rightclick on oak leaves:
    if {elma.%player%} is true:
        set {elma.%player%} to false
        send "&8Elma topluyorsun"
        apply slowness 255 to player for 3 second
        wait 3 second
        set {_sayi} to random integer between 1 and 4
        execute console command "give %player% apple %{_sayi}%"
        send "&a%{_sayi}% elma toplayabildiniz! &bDaha sonra tekrar deneyin"
        remove slowness from player
        wait 80 second
        set {elma.%player%} to true
        stop
    else:
        cancel event
        send "&cSuan elma toplayamazsiniz."
        stop

on join:
    set {elma.%player%} to true
 
Demiştim Ve Pardon Hemen GÜncelliyorum Kodu
Kod:
on join:
    set the freeze state of player to false
   
command /polistabanca:
    permission: polis.tabanca
    permission message: &4Bu Silahı Sadece Polisler Alabilir
    trigger:
        give a iron hoe named "&bŞok Tabancası" with lore "LORE" to player
        send "&8Silahınız Başarıyla Verildi!"
        stop

on damage of player:
    if display name of attacker's tool contains "&bŞok Tabancası":
        set the freeze state of victim to true
        wait 10 second
        set the freeze state of victim to false

on rightclick on oak leaves:
    if {elma.%player%} is true:
        set {elma.%player%} to false
        send "&8Elma topluyorsun"
        apply slowness 255 to player for 3 second
        wait 3 second
        set {_sayi} to random integer between 1 and 4
        execute console command "give %player% apple %{_sayi}%"
        send "&a%{_sayi}% elma toplayabildiniz! &bDaha sonra tekrar deneyin"
        remove slowness from player
        wait 80 second
        set {elma.%player%} to true
        stop
    else:
        cancel event
        send "&cSuan elma toplayamazsiniz."
        stop

on join:
    set {elma.%player%} to true




Başarıyla Çalıştı Çok Teşekkürd Ederim Elinize Sağlık Yardım eden arkadaşlarin
 
Sorun çözüldüğüne göre konu kilit, iyi forumlar.
 
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