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

[Problem] Z skryptem


Rekomendowane odpowiedzi

Opublikowano

Witam mam problem napisałem banalny skrypt :D (nie chciało mi sie bawic z essentails) oto on 

command /Zestaw:
trigger:
player has permission "kit.vip"
give diamond helmet of protection 2 named "&b&lZestaw Vipa" to the player
give diamond leggings of protection 2 named "&b&lZestaw Vipa" to the player
give diamond boots of protection 2 named "&b&lZestaw Vipa" to the player
give diamond chestplate of protection 2 named "&b&lZestaw Vipa" to the player
wait 43200 seconds 
i mam do was pytanie .(w sublime jest wytabowany tutaj nie ) czy da sie zrobic zeby komende /Zestaw dałoby sie uzywac co 12 godzin próbowałem funkcja "wait 43200 to next use" ale nie działa a nwm jak to zrobic prosze o pomoc :)
Opublikowano

Zawsze przy warunku musi być if, to jest podstawa...

Oczywiście wytabujesz:

 

if player have permission "kit.vip":
if {kit.vip.%player%} is true:
set {kit.vip.%player%} to false
give diamond helmet of protection 2 named "&b&lZestaw Vipa" to the player
give diamond leggings of protection 2 named "&b&lZestaw Vipa" to the player
give diamond boots of protection 2 named "&b&lZestaw Vipa" to the player
give diamond chestplate of protection 2 named "&b&lZestaw Vipa" to the player
wait 43200 seconds 
set {kit.vip.%player%} to true
stop
 
on join:
if player have permission "kit.vip":
if {kit.vip.%player%} is not set:
set {kit.vip.%player%} to true
stop

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...