[SK] Yemek Menüsü

KepoKepox

Taş Madencisi
Mesajlar
85
En iyi cevaplar
0
Beğeniler
8
Puanları
0

  • Tüm oyuncular kullanabilir
  • Yapımcı KepoFB / Kerem Yürek


  • Sadece 1 kod ile çalışıyor.
  • PHP:
    /yemekmenu
  • Çalışması için gerekenler.
  • Skript / SkQuery
  • İyi Kullanışlar.
  • PHP:
    command /yemekmenu:
        trigger:
            open chest with 5 rows named "&c&lYemek Menüsü" to player
            format slot 0 of player with cooked beef named "&3Biftek" with lore "&750 TL'ye 16 tane biftek satın alırsınız." to close then run [execute player command "/sa"]
            format slot 9 of player with cooked Chicken named "&3Pişmiş Tavuk" with lore "&750 TL'ye 16 tane tavuk satın alırsınız." to close then run [execute player command "/sa1"]
            format slot 18 of player with cooked fish named "&3Pişmiş Balık" with lore "&750 TL'ye 16 tane Pişmiş Balık satın alırsınız." to close then run [execute player command "/sa2"]
            format slot 27 of player with bread named "&3Ekmek" with lore "&750 TL'ye 16 tane Ekmek satın alırsınız." to close then run [execute player command "/sa3"]
            format slot 36 of player with pumpkin pie named "&3Balkabağı Turtası" with lore "&750 TL'ye 16 tane Balkabağı Turtası satın alırsınız." to close then run [execute player command "/sa4"]
            format slot 1 of player with Stained glass pane:15 named "&0│" to close
            format slot 2 of player with Stained glass pane:15 named "&0│" to close
            format slot 3 of player with Stained glass pane:15 named "&0│" to close
            format slot 4 of player with Stained glass pane:15 named "&0│" to close
            format slot 5 of player with Stained glass pane:15 named "&0│" to close
            format slot 6 of player with Stained glass pane:15 named "&0│" to close
            format slot 7 of player with Stained glass pane:15 named "&0│" to close
            format slot 8 of player with Stained glass pane:15 named "&0│" to close
            format slot 10 of player with Stained glass pane:15 named "&0│" to close
            format slot 11 of player with Stained glass pane:15 named "&0│" to close
            format slot 12 of player with Stained glass pane:15 named "&0│" to close
            format slot 13 of player with Stained glass pane:15 named "&0│" to close
            format slot 14 of player with Stained glass pane:15 named "&0│" to close
            format slot 15 of player with Stained glass pane:15 named "&0│" to close
            format slot 16 of player with Stained glass pane:15 named "&0│" to close
            format slot 17 of player with Stained glass pane:15 named "&0│" to close
            format slot 19 of player with Stained glass pane:15 named "&0│" to close
            format slot 20 of player with Stained glass pane:15 named "&0│" to close
            format slot 21 of player with Stained glass pane:15 named "&0│" to close 
            format slot 22 of player with Stained glass pane:15 named "&0│" to close
            format slot 23 of player with Stained glass pane:15 named "&0│" to close
            format slot 24 of player with Stained glass pane:15 named "&0│" to close
            format slot 25 of player with Stained glass pane:15 named "&0│" to close
            format slot 26 of player with  Book named "&3Producer KepoFB" to close
            format slot 28 of player with Stained glass pane:15 named "&0│" to close
            format slot 29 of player with Stained glass pane:15 named "&0│" to close
            format slot 30 of player with Stained glass pane:15 named "&0│" to close
            format slot 31 of player with Stained glass pane:15 named "&0│" to close
            format slot 32 of player with Stained glass pane:15 named "&0│" to close
            format slot 33 of player with Stained glass pane:15 named "&0│" to close
            format slot 34 of player with Stained glass pane:15 named "&0│" to close   
            format slot 35 of player with Stained glass pane:15 named "&0│" to close
            format slot 37 of player with Stained glass pane:15 named "&0│" to close
            format slot 38 of player with Stained glass pane:15 named "&0│" to close 
            format slot 39 of player with Stained glass pane:15 named "&0│" to close       
            format slot 40 of player with Stained glass pane:15 named "&0│" to close       
            format slot 41 of player with Stained glass pane:15 named "&0│" to close
            format slot 42 of player with Stained glass pane:15 named "&0│" to close
            format slot 43 of player with Stained glass pane:15 named "&0│" to close
            format slot 44 of player with Stained glass pane:15 named "&0│" to close
    
    command /sa:
        trigger:
            player's balance is greater than 49:
                remove 50 from player's balance
                give 16 cooked beef named "&3Biftek" to player
                send "&c/ &e16 Adet biftek satın aldınız. &c\" to player
            else:
                send "&c/ &eParanız yetersizdir. &c\" to player
    
    command /sa1:
        trigger:
            player's balance is greater than 49:
                remove 50 from player's balance
                give 16 cooked chicken named "&3Pişmiş Tavuk" to player
                send "&c/ &e16 Adet Pişmiş Tavuk satın aldınız. &c\" to player
            else:
                send "&c/ &eParanız yetersizdir. &c\" to player
    
    command /sa2:
        trigger:
            player's balance is greater than 49:
                remove 50 from player's balance
                give 16 cooked fish named "&3Pişmiş Balık" to player
                send "&c/ &e16 Adet Pişmiş Balık satın aldınız. &c\" to player
            else:
                send "&c/ &eParanız yetersizdir. &c\" to player
    
    command /sa3:
        trigger:
            player's balance is greater than 49:
                remove 50 from player's balance
                give 16 bread named "&3Ekmek" to player
                send "&c/ &e16 Adet Ekmek satın aldınız. &c\" to player
            else:
                send "&c/ &eParanız yetersizdir. &c\" to player
    
    command /sa4:
        trigger:
            player's balance is greater than 49:
                remove 50 from player's balance
                give 16 pumpkin pie named "&3Balkabağı Turtası" to player
                send "&c/ &e16 Adet Balkabağı Turtası satın aldınız. &c\" to player
            else:
                send "&c/ &eParanız yetersizdir. &c\" to player
 


ShiodomeMiuna

Nether Yerlisi
Mesajlar
2,351
En iyi cevaplar
11
Beğeniler
1,190
Puanları
3,300
Kod kirliliği var biraz. Ama kötü değil. Biraz daha yemek eklersen güzel olabilir. Birde böyle alt alta komut eklemek yerine şöyle bir kodu;
PHP:
command /yemeks [<text>]:
    trigger:
        give 10 arg 1 to player
ekleyebilirsin.
Ben para alma vs ekleyemedim, telefonda olmasam eklerdim.
 
Son düzenleme:

KepoKepox

Taş Madencisi
Mesajlar
85
En iyi cevaplar
0
Beğeniler
8
Puanları
0
Kod kirliliği var biraz. Ama kötü değil. Biraz daha yemek eklersen güzel olabilir. Birde böyle alt alta komut eklemek yerine şöyle bir kodu;
PHP:
command /yemeks [<text>]:
    trigger:
        give 10 arg 1 to player
ekleyebilirsin.
Ben para alma vs ekleyemedim, telefonda olmasam eklerdim.
Güzel düşüncen ve güzel fikrin için teşekkür ederim güzel kardeşim.
 

Mr_Obliviate

Play.BlokDunyasi.Net
Mesajlar
1,002
En iyi cevaplar
18
Beğeniler
749
Puanları
1,480
Ruh hali
text yerine item yazabilirsin. ama o zaman hata mesajı skript pluginine göre çalışır.
 

Breakthrough

Obsidyen Madencisi
Mesajlar
1,332
En iyi cevaplar
0
Beğeniler
1,098
Puanları
2,930
SkQuery GUI kullanman skriptin iyi olmaması için yeterli.
 

delete_clem

Demir Madencisi
Mesajlar
257
En iyi cevaplar
0
Beğeniler
105
Puanları
640
Ruh hali
Tuske kullanmanı öneririm. Çok daha rahat bence :)
 

Üst