on inventory click:
if inventory name of current inventory of player is "&8&l» &6&lSchowek":
if player's current inventory's slot slot is golden apple:1:
if player has 3 of golden apple:1:
send "&4&lBlad! &7Posiadasz maksymalno liczbe koxow w ekwipunku!"
cancel event
stop
if {schowek.koxy.%player%} is less than 3:
add {schowek.koxy.%player%} of golden apple:1 to player
remove {schowek.koxy.%player%} from {schowek.koxy.%player%}
cancel event
else:
remove 3 from {schowek.koxy.%player%}
give {@koxy} golden apple:1 to player
cancel event
Zrobicie mi tak ze jak sie ma 2 koxy to dobiera 1 a jak sie ma 1 kox to dobiera 2
Pytanie
KrychaMC09 1
on inventory click: if inventory name of current inventory of player is "&8&l» &6&lSchowek": if player's current inventory's slot slot is golden apple:1: if player has 3 of golden apple:1: send "&4&lBlad! &7Posiadasz maksymalno liczbe koxow w ekwipunku!" cancel event stop if {schowek.koxy.%player%} is less than 3: add {schowek.koxy.%player%} of golden apple:1 to player remove {schowek.koxy.%player%} from {schowek.koxy.%player%} cancel event else: remove 3 from {schowek.koxy.%player%} give {@koxy} golden apple:1 to player cancel event
Zrobicie mi tak ze jak sie ma 2 koxy to dobiera 1 a jak sie ma 1 kox to dobiera 2
Odnośnik do komentarza
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ą.