Skocz do zawartości
  • 0

DropGUI


Virus2001

Pytanie

12 błedów i nie wyświetla w gui tych itemków


*********


* KOD *


*********


variables:

{member.%player%} = 1 

command /drop:

trigger:

open chest with 3 rows named "&8&l*    &6&lTagi    &8&l*" to player

wait 1 tick

format slot 1 of player with 1 of diamond named "&c( &b1,2% &c )"

format slot 2 of player with 1 of emerald named "&c( &a2,3% &c)"

format slot 3 of player with 1 of iron ingot named "&c( &710% &c)"

format slot 4 of player with 1 of coal named "&c( &512% &c)"

format slot 5 of player with 1 of obsidian named "&C( &12,7 &c)"

format slot 6 of player with 1 of redstone named "&C( &9 &c)"

format slot 7 of player with 1 of tnt named "&C( &8 &c)"

format slot 8 of player with 1 of apple named "&C( &11,8 &c)"

format slot 9 of player with 1 of gold ingot named "&C( &66,3 &c)"

format slot 10 of player with 1 of slime ball named "&C( &a3,6 &c)"

format slot 11 of player with 1 of book named "&C( &e3,4 &c)"

format slot 12 of player with 1 of Ender pearl "&C( &e2,7 &c)"

Odnośnik do komentarza
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

1. przy ender pearl brakuje ci słówka "named"
2. na końcu każdego format slot musisz określić działanie po kliknięciu:
- to be unstealable (po kliknięciu nic się nie dzieje)
- to run [execute player command "komenda"] (gracz wykonuje komendę "komenda")
- to close then run [execute player command "komenda"] (zamyka gui i gracz wykonuje komendę "komenda")
- to run "komenda" (konsola wykonuje komendę "komenda")
- to close then run "komenda" (zamyka gui i konsola wykonuje komendę "komenda")
- to close (zamyka gui)
np. format slot 12 of player with 1 of ender pearl named "&c( &e2,7 &c)" to be unstealable

3. jeżeli chcesz w tekście pokazać % lub " musisz to podwoić.

np. %% = %, "" = "
 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
variables:

{member.%player%} = 1 

command /drop:

trigger:

open chest with 3 rows named "&8&l*    &6&lTagi    &8&l*" to player

wait 1 tick

format slot 1 of player with 1 of diamond named "&c( &b1,2% &c )" to close

format slot 2 of player with 1 of emerald named "&c( &a2,3% &c)" to close

format slot 3 of player with 1 of iron ingot named "&c( &710% &c)" to close

format slot 4 of player with 1 of coal named "&c( &512% &c)" to close

format slot 5 of player with 1 of obsidian named "&C( &12,7 &c)" to close

format slot 6 of player with 1 of redstone named "&C( &9 &c)" to close

format slot 7 of player with 1 of tnt named "&C( &8 &c)" to close

format slot 8 of player with 1 of apple named "&C( &11,8 &c)" to close

format slot 9 of player with 1 of gold ingot named "&C( &66,3 &c)" to close

format slot 10 of player with 1 of slime ball named "&C( &a3,6 &c)" to close

format slot 11 of player with 1 of book named "&C( &e3,4 &c)" to close

       format slot 12 of player with 1 of ender pearl named "&c( &e2,7 &c)" to close

Tak zrobiłem ale nie wyświetla reszty przedmiotów ;,

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...