Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Zestawy


Rekomendowane odpowiedzi

Opublikowano

Witam.

Mam taki kod na zestawy (kity)

 

command /zestaw [<text>]:
    aliases: kity, kits, kit
    trigger:
        if argument 1 is not set:
            send ""
            send "&7-------------------&8[ &a&lZestawy &8]&7-------------------"
            send ""
            send "&7/zestaw &6Vip"
            send ""
            send "&7-------------------&8[ &a&lZestawy &8]&7-------------------"
            send ""
        if argument 1 is "vip":
            if player has permission "kit.vip":
                send "&7Zestaw &6VIP'a &7zostal ci przydzielony!"
                give iron helmet of protection 10 named "&eKit Vip" to player
                give iron chestplate of protection 10 named "&eKit Vip" to player
                give iron leggings of protection 10 named "&eKit Vip" to player
                give iron boots of protection 10 named "&eKit Vip" to player
                give iron sword of sharpness 10 and fire aspect 5 named "&eKit Vip" to player
                give 64 cooked porkchop named "&eKit Vip" to player
                give 32 golden apple named "&eKit Vip" to player
                stop

 

Jak zrobić żeby Vip mógł co 7 dni brać zestaw?

Prosze o pomoc

Opublikowano

Sprawdz:

options:
time=24 #Tu ustaw co ile godzin/minut ma być zestaw
variables:
{kit.%player%} = true
command /zestaw [<text>]:    
aliases: kity, kits, kit    
trigger:        
if argument 1 is not set:            
send ""            
send "&7-------------------&8[ &a&lZestawy &8]&7-------------------"            
send ""             send "&7/zestaw &6Vip"            
send ""            
send "&7-------------------&8[ &a&lZestawy &8]&7-------------------"            
send ""        
if argument 1 is "vip":            
if player has permission "kit.vip":
if {kit.%player%} is true:              
send "&7Zestaw &6VIP'a &7zostal ci przydzielony!"                
give iron helmet of protection 10 named "&eKit Vip" to player                
give iron chestplate of protection 10 named "&eKit Vip" to player                
give iron leggings of protection 10 named "&eKit Vip" to player                
give iron boots of protection 10 named "&eKit Vip" to player                
give iron sword of sharpness 10 and fire aspect 5 named "&eKit Vip" to player                
give 64 cooked porkchop named "&eKit Vip" to player                
give 32 golden apple named "&eKit Vip" to player  
set {kit.%player%} to false
wait {@time} hours #Lub na minutes
set {kit.%player%} to true            
stop

Wytabuj, jak nie chcesz godzin to zmień na minutes.

 

A jak to bedzie z tabem?

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...