Bulundu savaş skripti

  • Konuyu Başlatan Konuyu Başlatan Erenslslsl
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 479
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Erenslslsl

Zombi Geldi, Beni Yedi
Katılım
28 Ocak 2025
Mesajlar
252
Elmaslar
28
Puan
805
Yaş
16
Konum
muğla
arkadaşlar merhaba ben şunu istiyorum belirldeiğim dünyaya ilk defa girince oyuncuya belirlediğim kit in verilmesini istiyorum ve bu kit oyunca belirlediğim dünyada her öldüğünde geri verilicek bide belirlediğim dünyada bir oyuncu her öldürdüğü oyuncu başına envanterine 1 altın elma gelcek bunun için bir skript istiyorum

kit ismi: arena
"kit give %{_kitName}%" kit vermek için bu komut çalışıyor

yapabilirseniz teşekkür ederim
 
Python:
options:
    # oyuncu ismi nereye yazılacak bilmiyorum, komutu değiştirebilirsin.
    giveKitEffect: execute console command "kit give arena"
    
    
    # bu dünya da ölen oyunculara tekrar kit verilir, oyuncu öldürenlere altın elma verilir.
    world: "dünyaismi"


on join:
    if {firstJoin::%player%} isn't set:
        set {firstJoin::%player%} to true

        {@giveKitEffect}




on respawn:
    if world of player is {@world}:
        if {giveKit::%player%} is true:

            {@giveKitEffect}

            delete {giveKit::%player%}


on death:
    if world of event-location is {@world}:
        set {giveKit::%victim%} to true


on death:
    if victim is a player:
        if attacker is a player:
            give 1 of golden apple to attacker

Hata çıkarsa atarsın.
 
deniyorum hemen
 
Python:
options:
    # oyuncu ismi nereye yazılacak bilmiyorum, komutu değiştirebilirsin.
    giveKitEffect: execute console command "kit give arena"
   
   
    # bu dünya da ölen oyunculara tekrar kit verilir, oyuncu öldürenlere altın elma verilir.
    world: "dünyaismi"


on join:
    if {firstJoin::%player%} isn't set:
        set {firstJoin::%player%} to true

        {@giveKitEffect}




on respawn:
    if world of player is {@world}:
        if {giveKit::%player%} is true:

            {@giveKitEffect}

            delete {giveKit::%player%}


on death:
    if world of event-location is {@world}:
        set {giveKit::%victim%} to true


on death:
    if victim is a player:
        if attacker is a player:
            give 1 of golden apple to attacker

Hata çıkarsa atarsın.
kral denedim olmadı ama kit give arena (player) diyor komuta sen sadece kit give arena yazmışsın ondan olabilirmi ?
 
Hangi kit eklentisini kullanıyorsunuz ona göre yanıt verebilirim
 
Üstteki console command yerine "kit give arena %player%" yazıp dener misiniz?
 

Şu kodu SkQuery eklentisi yüklüyken dener misin
Kod:
options:
    arena_dunya: world_arena # Dünya ismi
    kit_ismi: arena # Kit ismi

on join:
    if player's world is {@arena_dunya}:
        if {arenaGiris.%player%} is not set:
            execute console command "kit give {@kit_ismi} %player%"
            set {arenaGiris.%player%} to true

on death:
    if world of player is {@arena_dunya}:
        execute console command "kit give {@kit_ismi} %victim%"
        if attacker is a player:
            give 1 golden apple to attacker
 
Python:
options:
[QUOTE="The0Felon, post: 803486, member: 147283"]
    # oyuncu ismi nereye yazılacak bilmiyorum, komutu değiştirebilirsin.
    giveKitEffect: execute console command "kit give arena"
  
  
    # bu dünya da ölen oyunculara tekrar kit verilir, oyuncu öldürenlere altın elma verilir.
    world: "dünyaismi"


on join:
    if {firstJoin::%player%} isn't set:
        set {firstJoin::%player%} to true

        {@giveKitEffect}




on respawn:
    if world of player is {@world}:
        if {giveKit::%player%} is true:

            {@giveKitEffect}

            delete {giveKit::%player%}


on death:
    if world of event-location is {@world}:
        set {giveKit::%victim%} to true


on death:
    if victim is a player:
        if attacker is a player:
            give 1 of golden apple to attacker


beyler skripti şöyle yaparsanız sadece belirli dünyaya ilk giriş yaptıdığında ona kit verilsin bide sadece adam öldürünce oyuncuya 1 adet altın elma verilsin bukadar olsun
 
Şu kodu SkQuery eklentisi yüklüyken dener misin
Kod:
options:
    arena_dunya: world_arena # Dünya ismi
    kit_ismi: arena # Kit ismi

on join:
    if player's world is {@arena_dunya}:
        if {arenaGiris.%player%} is not set:
            execute console command "kit give {@kit_ismi} %player%"
            set {arenaGiris.%player%} to true

on death:
    if world of player is {@arena_dunya}:
        execute console command "kit give {@kit_ismi} %victim%"
        if attacker is a player:
            give 1 golden apple to attacker
aternos üzerinden açtııgım için sunucuyu o eklenti mevcut değil ama o olmadanda yapabiliriz
 
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