command /gracze:
trigger:
set {_} to chest inventory with 3 rows named "&3Gracze"
set slot (integers between 0 and 27) of {_} to black stained glass pane
set slot 13 of {_} to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%"
open {_} to player
on inventory click:
event-inventory is not player's inventory
if name of event-inventory is "&3Gracze":
cancel event
while name of player's current inventory is "&3Gracze":
set slot 13 of event-inventory to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%"
wait second
Pytanie
Kamil9910 0
Dlaczego się gui nie odświeża?
command /gracze: trigger: set {_} to chest inventory with 3 rows named "&3Gracze" set slot (integers between 0 and 27) of {_} to black stained glass pane set slot 13 of {_} to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" open {_} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&3Gracze": cancel event while name of player's current inventory is "&3Gracze": set slot 13 of event-inventory to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" wait secondDaje w code i tabuje.
Notatka dodana przez xAxee
Odnośnik do komentarza
https://skript.pl/temat/57029-gui-problem/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.