command /pun [<player>]:
trigger:
set {_gui} to chest inventory with 5 rows named "&9Panel Gracza: %argument 1%"
set slot 20 of {_gui} to paper named "&cZbanuj %argument 1% za: Złamanie regulaminu" with lore ""
open {_gui} to player
on inventory click:
if clicked slot is 0:
execute player command "ban %argument 1%"
Pytanie
HvgoY 0
Cześć! Mam ostatnio problem z moim skryptem
command /pun [<player>]:
trigger:
set {_gui} to chest inventory with 5 rows named "&9Panel Gracza: %argument 1%"
set slot 20 of {_gui} to paper named "&cZbanuj %argument 1% za: Złamanie regulaminu" with lore ""
open {_gui} to player
on inventory click:
if clicked slot is 0:
execute player command "ban %argument 1%"
jest problem taki ze pisze bład
Prosze pomozcie
Odnośnik do komentarza
https://skript.pl/temat/57487-b%C5%82%C4%85d-z-on-inventory-click/Udostępnij na innych stronach
12 odpowiedzi 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ą.