on inventory click:
set {_s} to slot
set {_i} to slot {_s} of player
{_i} is apple:
loop all items in player's inventory:
loop-item is apple:
set amount of loop-item to {_a}
send "{_a}"
Blad
[23:16:45 INFO]: [Skript] Reloading mieso.sk...
[23:16:46 ERROR]: 'loop-item' can only ever have one value at most, thus the 'amount of ...' expression is useless. Use '... exists' instead to find out whether the expression has a value. (mieso.sk, line 16: set amount of loop-item to {_a}')
[23:16:46 INFO]: [Skript] Encountered 1 error while reloading mieso.sk!
Pytanie
Nerdrod2 0
on inventory click: set {_s} to slot set {_i} to slot {_s} of player {_i} is apple: loop all items in player's inventory: loop-item is apple: set amount of loop-item to {_a} send "{_a}"
Blad
[23:16:45 INFO]: [Skript] Reloading mieso.sk...
[23:16:46 ERROR]: 'loop-item' can only ever have one value at most, thus the 'amount of ...' expression is useless. Use '... exists' instead to find out whether the expression has a value. (mieso.sk, line 16: set amount of loop-item to {_a}')
[23:16:46 INFO]: [Skript] Encountered 1 error while reloading mieso.sk!
Co robię źlę ? Co poprawić ?
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi