Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Skrypt - Prośba o Wytabowanie i potrzebne dod. wtyczki do tego :)


iCoeli

Rekomendowane odpowiedzi

Opublikowano

Skrypt: 
I co potrzebuję oprócz samego skripta? :D

on pick up:
wait 0.1 second
if amount of enchanted golden apple in player's inventory is greater than 10:
set {_amount} to amount of enchanted golden apple in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% enchanted golden apple"
add "%{_add}%" parsed as item to player's enderchest
remove all enchanted golden apple from player's inventory
add 10 enchanted golden apple to player's inventory
message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
if amount of ender pearl in player's inventory is greater than 10:
set {_amount} to amount of ender pearl in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% ender pearl"
add "%{_add}%" parsed as item to player's enderchest
remove all ender pearl from player's inventory
add 10 ender pearl to player's inventory
message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
stop
 
on inventory close:
if amount of enchanted golden apple in player's inventory is greater than 10:
set {_amount} to amount of enchanted golden apple in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% enchanted golden apple"
add "%{_add}%" parsed as item to player's enderchest
remove all enchanted golden apple from player's inventory
add 10 enchanted golden apple to player's inventory
message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
if amount of ender pearl in player's inventory is greater than 10:
set {_amount} to amount of ender pearl in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% ender pearl"
add "%{_add}%" parsed as item to player's enderchest
remove all ender pearl from player's inventory
add 10 ender pearl to player's inventory
message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
stop
Opublikowano
on pick up:
	wait 0.1 second
	if amount of enchanted golden apple in player's inventory is greater than 10:
		set {_amount} to amount of enchanted golden apple in player's inventory
		set {_amountend} to {_amount}-10
		set {_add} to "%{_amountend}% enchanted golden apple"
		add "%{_add}%" parsed as item to player's enderchest
		remove all enchanted golden apple from player's inventory
		add 10 enchanted golden apple to player's inventory
		message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
		if amount of ender pearl in player's inventory is greater than 10:
			set {_amount} to amount of ender pearl in player's inventory
			set {_amountend} to {_amount}-10
			set {_add} to "%{_amountend}% ender pearl"
			add "%{_add}%" parsed as item to player's enderchest
			remove all ender pearl from player's inventory
			add 10 ender pearl to player's inventory
			message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
			stop
 
on inventory close:
	if amount of enchanted golden apple in player's inventory is greater than 10:
		set {_amount} to amount of enchanted golden apple in player's inventory
		set {_amountend} to {_amount}-10
		set {_add} to "%{_amountend}% enchanted golden apple"
		add "%{_add}%" parsed as item to player's enderchest
		remove all enchanted golden apple from player's inventory
		add 10 enchanted golden apple to player's inventory
		message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
		if amount of ender pearl in player's inventory is greater than 10:
			set {_amount} to amount of ender pearl in player's inventory
			set {_amountend} to {_amount}-10
			set {_add} to "%{_amountend}% ender pearl"
			add "%{_add}%" parsed as item to player's enderchest
			remove all ender pearl from player's inventory
			add 10 ender pearl to player's inventory
			message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
			stop

Na moje oko potrzebujesz pluginu Skript i WildSkript, a jak będzie wywalać błędy to dodaj jeszcze SkQuery.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...