if {_item} is not air:
if {_price} > 0:
if shift key is pressed:
if click type is right mouse button:
set {_count} to amount of {_item} in player's inventory
if {_count} > 0:
remove {_count} of {_item} from player
add {_price} * {_count} to balance of player
send "&aSprzedałeś %{_count}%x %{_item}% za %{_price}*{_count}%$!"
wait 2 ticks
execute player command "sklepsprzedaj"
Pytanie
Dragon5231s 0
mam taki skrypt i on nie działa
if {_item} is not air:
if {_price} > 0:
if shift key is pressed:
if click type is right mouse button:
set {_count} to amount of {_item} in player's inventory
if {_count} > 0:
remove {_count} of {_item} from player
add {_price} * {_count} to balance of player
send "&aSprzedałeś %{_count}%x %{_item}% za %{_price}*{_count}%$!"
wait 2 ticks
execute player command "sklepsprzedaj"
Odnośnik do komentarza
https://skript.pl/temat/58745-jak-zrobi%C4%87-%C5%BCeby-sprzedawa%C5%82o-wszystkie-itemy-po-klikni%C4%99ciu-prawego-przycisku-myszy-i-shifta/Udostępnij na innych stronach
2 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ą.