Attack

GolcuOsman

Kızıltaş Madencisi
En iyi cevaplar
0
/kilic yazınca adama saldiri adlı bir kılıç gelecek bu kılıçla sağ klik yaparsa kılıcına keskinlik1 enchanti gelecek bir kişiye vurursa o enchant ile kılıcından enchant kalkacak
Şimdiden Teşekkürler
 

ShiodomeMiuna

Nether Yerlisi
En iyi cevaplar
11
PHP:
command /kilic:
    trigger:
        give 1 wood sword with sharpness 1 named "&4&lSaldiri" to player

on damage:
    if tool's display name is "&4&lSaldiri":
        remove 1 wood sword named "&4&lSaldiri" to player
        give 1 wood sword to player

on rightclick with wood sword:
    if {_sagtiklama.%player%} is not set:
        set {_sagtiklama.%player%} to 1
        wait 12 seconds
        delete {_sagtiklama.%player%}
    else:
        message "&6[&5Sistem&6] &cKilica sadece 12 saniyede bir tiklayabilirsiniz."
        cancel event
 

GolcuOsman

Kızıltaş Madencisi
En iyi cevaplar
0
kardeşim yazmayı unutmuşum kusura bakma sağ klil yapmasına cooldown yapabilirmisin 12 saniye sonra tekrar basabilsin sağ kliğe
 

GolcuOsman

Kızıltaş Madencisi
En iyi cevaplar
0
Çok Teşekkür ediyorum
[19:01:13] [Server thread/ERROR]: '1 wood sword with sharpness 1' is not an item type (extra.sk, line 3: give 1 wood sword with sharpness 1 named "&4&lSaldiri" to player')
[19:01:13] [Server thread/ERROR]: Use 'attacker' and/or 'victim' in damage events (extra.sk, line 6: if tool's display name is "&4&lSaldiri":')
 

NeonSpade

Neon, the best
En iyi cevaplar
0
Kod:
command /kilic:
    trigger:
        give a wooden sword named "&a&lSaldiri" to player
on rightclick with wooden sword:
    name of player's tool is "&a&lSaldiri":
        if {zaman.%player%} is true:
            send "&4&lEnch icin 12 saniye bekle!"
            cancel event
            wait 12 real seconds
            set {zaman.%player%} to false
        else:
            enchant the player's tool with sharpness 1
            set {zaman.%player%} to true
on damage:
    name of attacker's tool is "&a&lSaldiri":
        disenchant the attacker's tool
zamanı ekledim 12 sn
Edit: Fikir verdin bana sağolasın @GolcuOsman :)
 
Son düzenleme:

The_Dark_Brawlers

Kızıltaş Madencisi
En iyi cevaplar
0
Kod:
command /kilic:
    trigger:
        give a wooden sword named "&a&lSaldiri" to player
on rightclick with wooden sword:
    name of player's tool is "&a&lSaldiri":
        if {zaman.%player%} is true:
            send "&4&lEnch icin 12 saniye bekle!"
            cancel event
            wait 12 real seconds
            set {zaman.%player%} to false
        else:
            enchant the player's tool with sharpness 1
            set {zaman.%player%} to true
on damage:
    name of attacker's tool is "&a&lSaldiri":
        disenchant the attacker's tool
zamanı ekledim 12 sn
Edit: Fikir verdin bana sağolasın @GolcuOsman :)
banada fikir verdi :S
hocam bunu söyle nasıl yapcaz o enchant ile bir adama vurursa victim olan adama /katla komutu yazacak
 

GolcuOsman

Kızıltaş Madencisi
En iyi cevaplar
0
Kod:
command /kilic:
    trigger:
        give a wooden sword named "&a&lSaldiri" to player
on rightclick with wooden sword:
    name of player's tool is "&a&lSaldiri":
        if {zaman.%player%} is true:
            send "&4&lEnch icin 12 saniye bekle!"
            cancel event
            wait 12 real seconds
            set {zaman.%player%} to false
        else:
            enchant the player's tool with sharpness 1
            set {zaman.%player%} to true
on damage:
    name of attacker's tool is "&a&lSaldiri":
        disenchant the attacker's tool
        Execute console command ''katla''
 

MeeRach

Vi3e
En iyi cevaplar
0
benimkinede cevap yazarmısnız
Kod:
command /kilic:
    trigger:
        give a wooden sword named "&a&lSaldiri" to player
on rightclick with wooden sword:
    name of player's tool is "&a&lSaldiri":
        if {zaman.%player%} is true:
            send "&4&lEnch icin 12 saniye bekle!"
            cancel event
            wait 12 real seconds
            set {zaman.%player%} to false
        else:
            enchant the player's tool with sharpness 1
            set {zaman.%player%} to true
on damage:
    name of attacker's tool is "&a&lSaldiri":
        execute console command "/katla"
        disenchant the attacker's tool
 
Son düzenleme:
Üst