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...

Vezirx

Bir Kömür Göründü Kaptanım!
Katılım
16 Nisan 2017
Mesajlar
168
Elmaslar
6
Puan
0
Yaş
27
Arkadaşlar Merhabalar Roleplay Sunucusu Tasarlıyorum da :) bir kaç script var ne tarafı yanlış ? error veriyor nedense.


1.Script şu Bir kişiye Vurdugumuzda Yerinde kalıyor şok tabancası gibi birşey buna yıldırım seside ekleyip atarmısınız?

Kod:
on damage of player:
    attacker is player
    if attacker's tool of iron hoe of named "&bŞok Tabancası" with lore "LORE":
        apply speed -100 to the player for 10 seconds
        apply jump -100 to the victim for 10 seconds


2.nci Scriptte Şu Elma Toplama

Kod:
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
        give {_sayi} apple to player
        send "&a{_sayi} elma toplayabildiniz! &bDaha sonra tekrar deneyin"remove slowness from player
        wait 80 second
        set {elma.%player%} to true
    else:
        cancel event
        send "&cSuan elma toplayamazsiniz."
on join:
    set {elma.%player%} to true
 
Kod:
on damage of player:
    attacker is player
    if attacker's tool of iron hoe of named "&bŞok Tabancası" with lore "LORE":
        apply speed -100 to the player for 10 seconds
        apply jump -100 to the victim for 10 seconds
        strike lightning at the player

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
        give {_sayi} apple to player
        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
 
Serverinizde Başarılarının Devamını Dilerim

Çok Teşekkür Ederim.[DOUBLEPOST=1493407464,1493407391][/DOUBLEPOST]
Kod:
on damage of player:
    attacker is player
    if attacker's tool of iron hoe of named "&bŞok Tabancası" with lore "LORE":
        apply speed -100 to the player for 10 seconds
        apply jump -100 to the victim for 10 seconds
        strike lightning at the player

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
        give {_sayi} apple to player
        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

Sağolun Deneyeceğim.[DOUBLEPOST=1493407610][/DOUBLEPOST]1 Error gözüküyor 2sinde
 
Çok Teşekkür Ederim.[DOUBLEPOST=1493407464,1493407391][/DOUBLEPOST]

Sağolun Deneyeceğim.[DOUBLEPOST=1493407610][/DOUBLEPOST]1 Error gözüküyor 2sinde
Hatayı ss olarak atınız.
 
O0bzl5.png
[/IMG]
O0bzl5.png
[DOUBLEPOST=1493407989,1493407925][/DOUBLEPOST]
vbGN26.png
 
Kod:
on damage of player:
    attacker is player
    if tool of attacker is iron hoe:
        if tool's displayname is "&bŞok Tabancası" with lore "LORE":
            apply speed -100 to the player for 10 seconds
            apply jump -100 to the victim for 10 seconds
            strike lightning at the player

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
 
Elma başarıyla çalışıyor fakat şu Şok tabancasına Perm eklermisiniz? polis kiti yapacağımda polisler alabilsin sadece.

birde

/polistabanca yazdıgında gelsin[DOUBLEPOST=1493409546,1493409452][/DOUBLEPOST]ayrıca yine 1 hata var olarak gösteriyor
 
Kod:
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:
    attacker is player
    if tool of attacker is iron hoe:
        if tool's displayname is "&bŞok Tabancası" with lore "LORE":
            apply speed -100 to the victim for 10 seconds
            apply jump -100 to the victim for 10 seconds
            strike lightning at the victim

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
O son hatayı atarsanız daha iyi yardımcı olabiliriz.
 
Kod:
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ı":
        apply speed -100 to the victim for 10 seconds
        apply jump -100 to the victim for 10 seconds
        strike lightning at the victim

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
Buyurun
 
Teşekkür Ederim
 
Elbette UmBaska Gerektirir.
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 player to true
        wait 10 second
        set the freeze state of player 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
 
Elbette UmBaska Gerektirir.
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 player to true
        wait 10 second
        set the freeze state of player 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



Direk Vurdugumuz Gibi Donduran Kodu Denedim ve Şöyle Error Verdi


5g0545.png
 
UmBaska Gerektirir.
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
 
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