Mianowicie nie wiem jaka jest zmienna na nazwę ekwpiunku gracza, który ma otworzony...
Mam tu urywek kodu
on inventory close:
if %name of player's current inventory% is "Zdrapka Lotek":
set {_a} to 0
loop 54 times:
set {zdrapka1::%{_a}%} to player's current inventory slot {_a}
add 1 to {_a}
on inventory close:
if %name of player's current inventory% is "Zdrapka Super Pensja":
set {_b} to 0
loop 54 times:
set {zdrapka2::%{_a}%} to player's current inventory slot {_a}
add 1 to {_b}
on inventory close:
if %name of player's current inventory% is "Zdrapka Super 7":
set {_c} to 0
loop 54 times:
set {zdrapka3::%{_a}%} to player's current inventory slot {_a}
add 1 to {_c}
Pytanie
PanRomcio 21
Witam, mam pewien problem...
Mianowicie nie wiem jaka jest zmienna na nazwę ekwpiunku gracza, który ma otworzony...
Mam tu urywek kodu
on inventory close: if %name of player's current inventory% is "Zdrapka Lotek": set {_a} to 0 loop 54 times: set {zdrapka1::%{_a}%} to player's current inventory slot {_a} add 1 to {_a} on inventory close: if %name of player's current inventory% is "Zdrapka Super Pensja": set {_b} to 0 loop 54 times: set {zdrapka2::%{_a}%} to player's current inventory slot {_a} add 1 to {_b} on inventory close: if %name of player's current inventory% is "Zdrapka Super 7": set {_c} to 0 loop 54 times: set {zdrapka3::%{_a}%} to player's current inventory slot {_a} add 1 to {_c}
Problem jest właśnie z tą zmienną :
%name of player's current inventory%
Screen z błędami:
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi