command /sklep [<text>]:
trigger:
open chest with 1 rows named "&6Sklep" to player
set player's current inventory's slot 0 to green wool named "&aKupno itemow"
set player's current inventory's slot 1 to red wool named "&cSprzedawanie itemow"
on inventory click:
if inventory name of current inventory of player is "&6Sklep":
if player's current inventory's slot slot is green wool:
cancel event
send "&6Wkrotce..."
if player's current inventory's slot slot is red wool:
cancel event
send "&6Wkrotce..."
NIe dziala mi linijka "if inventory name of current inventory of player is "&6Sklep":".
wywala taki blad:
'player' is not an item stack (test.sk, line 8: if inventory name of current invenotry of player is "&6Sklep":)
Pytanie
TheAdamos 24
Witam. mam taki skrypt
NIe dziala mi linijka "if inventory name of current inventory of player is "&6Sklep":".
wywala taki blad:
'player' is not an item stack (test.sk, line 8: if inventory name of current invenotry of player is "&6Sklep":)
Odnośnik do komentarza
Udostępnij na innych stronach
5 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ą.