Anlıyanlar Zamanınız Varsa Bakarsanız Sevinirim.[SKRİPT]

atakan1059788

Marangoz
En iyi cevaplar
0
ÖNCELLİKLE İYİ GÜNLER. BANA UFAK BİR SKRİPT YAPABİLİRMİSİN SİKRİPTİN AMACI BİR NEVİ KİT STARTERKİT GİBİ AMA ENVANTERİ SIFIRLAYIP KİTİ VERMESİ YERİNE SADECE BELİRLEDİĞİMİZ İTEMLERİ YENİLEMESİNİ YAPABİLİRMİSİNİ SKRİPT YANİ :) VE BELİRLENEN İTEMLER OLMADIĞINDA YENİSİNİ KOYMASINI UMARIM DEDİĞİMİ ANLAMIŞSINIZDIR İYİ GÜNLER. :)
 

ColKaplani

Zombi Katili
En iyi cevaplar
0
Buyrun
Kod:
options:
    belliaytım: iron ingot
    belliaytımisim: &fDeneme
    
command /starterkit:
    trigger:
        if player has {@belliaytım} named "{@belliaytımisim}":
            remove {@belliaytım} named "{@belliaytımisim}" from player's inventory
            give a {@belliaytım} named "{@belliaytımisim}" to player
            send "Eşyan Yenilendi" to player
        else:
            send "&8Yenilinicek Eşyan Yok Dostum"
 

atakan1059788

Marangoz
En iyi cevaplar
0
Buyrun
Kod:
options:
    belliaytım: iron ingot
    belliaytımisim: &fDeneme
   
command /starterkit:
    trigger:
        if player has {@belliaytım} named "{@belliaytımisim}":
            remove {@belliaytım} named "{@belliaytımisim}" from player's inventory
            give a {@belliaytım} named "{@belliaytımisim}" to player
            send "Eşyan Yenilendi" to player
        else:
            send "&8Yenilinicek Eşyan Yok Dostum"
knki çalışmıyor :/ itemi yenilemiyor. :/ hep yenilinicek eşyan yok dostum diyor hep
 

EylexLive

bunu gördüğünüzde özel üyem bitmiş olacak :(
En iyi cevaplar
0
Kod:
command /kit:
    trigger:
        player has iron sword:
            player has bow:
                player has fishing rod:
                    player has 16 arrow:
                        player has flint and steel:
                            player has iron armor:
                                send "&cEnvanterin tam,yenilenecek item yok !"
                            else:
                                equip player with all iron armor
                        else:
                            give 1 flint and steel to player
                    else:
                        set slot 17 of player to 16 of arrow
                else:
                    give 1 fishing rod to player
            else:
                give 1 bow to player
        else:
            give 1 iron sword to player
command:
    command is "kit":
        player doesn't have iron sword:
            player doesn't have fishing rod:
                player doesn't have 16 arrow:
                    player doesn'T have bow:
                        player doesn't have flint and steel:
                            player doesn't have iron armor:
                                clear player's inventory
                                wait 2 ticks
                                set slot 0 of player's inventory to iron sword
                                set slot 1 of player's inventory to flint and steel
                                set slot 2 of player's inventory to fishing rod
                                set slot 3 of player's inventory to bow
                                set slot 17 of player to 16 of arrow
                                equip player with all iron armor
Değişik bir mantıkla yaptım,denemedim.
 

atakan1059788

Marangoz
En iyi cevaplar
0
Kod:
command /kit:
    trigger:
        player has iron sword:
            player has bow:
                player has fishing rod:
                    player has 16 arrow:
                        player has flint and steel:
                            player has iron armor:
                                send "&cEnvanterin tam,yenilenecek item yok !"
                            else:
                                equip player with all iron armor
                        else:
                            give 1 flint and steel to player
                    else:
                        set slot 17 of player to 16 of arrow
                else:
                    give 1 fishing rod to player
            else:
                give 1 bow to player
        else:
            give 1 iron sword to player
command:
    command is "kit":
        player doesn't have iron sword:
            player doesn't have fishing rod:
                player doesn't have 16 arrow:
                    player doesn'T have bow:
                        player doesn't have flint and steel:
                            player doesn't have iron armor:
                                clear player's inventory
                                wait 2 ticks
                                set slot 0 of player's inventory to iron sword
                                set slot 1 of player's inventory to flint and steel
                                set slot 2 of player's inventory to fishing rod
                                set slot 3 of player's inventory to bow
                                set slot 17 of player to 16 of arrow
                                equip player with all iron armor
Değişik bir mantıkla yaptım,denemedim.
Çalışıyor :) ama şey rüca edicem bunu command blocktan almalarını sağlıyabilirmisin acaba ? ama basınç plakasına basan kişiye diğer oyunculara değil tekil yani ayarlıyabilirsen çok sevinirim :)
 

EylexLive

bunu gördüğünüzde özel üyem bitmiş olacak :(
En iyi cevaplar
0
Çalışıyor :) ama şey rüca edicem bunu command blocktan almalarını sağlıyabilirmisin acaba ? ama basınç plakasına basan kişiye diğer oyunculara değil tekil yani ayarlıyabilirsen çok sevinirim :)
on pressure plate:
eventini kullan command yerine.

SM-G7105 cihazımdan Tapatalk kullanılarak gönderildi
 
Üst