Skocz do zawartości
  • 0

Komenda na sprzedanie przedmiotu


NiezniszczalnyY
 Udostępnij

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:	tag : &0[&6SELL&0]&9command /sell [<text>:	trigger:		if arg 1 is "cobble":			if player has permissions "sell.cobble":				if player has 64 cobblestone:					remove 64 cobblestone from the player					send "{@tag}Sprzedales 64 cobblestone za 4$"					execute console command "money add %player% 4"					stop				else:					send "{@tag}Nie posiadasz 64 cobblestone"					stop			else:				send "{@tag}Nie posiadasz permisi"				stop		if arg 1 is "wood":			if player has permissions "sell.wood":				if player has 16 wood:					remove 16 wood from the player					send "{@tag}Sprzedales 16 wood za 1$"					execute console command "money add %player% 1"					stop				else:					send "{@tag}Nie posiadasz 16 cobblestone"					stop			else:				send "{@tag}Nie posiadasz permisi"				stop		if arg 1 is "eq":			if player has permissions "sell.eq":				if player has iron helmet:					if player has iron chestplate:						if player has iron leggings:							if player has iron boots:								remove 1 iron helmet from the player								remove 1 iron chestplate from the player								remove 1 iron leggings from the player								remove 1 iron boots from the player								send "{@tag}Sprzedales zelazne eq za 16$"								execute console command "money add %player% 16"								stop							else:								send "{@tag}Nie posiadasz iron boots"								stop						else:							send "{@tag}Nie posiadasz iron leggings"							stop					else:						send "{@tag}Nie posiadasz iron chestplate"						stop				else:					send "{@tag}Nie posiadasz iron helmet"					stop			else:				send "{@tag}Nie posiadasz permisi"				stop

 

< ---- jak byś nie potrafił wytabować

Edytowane przez Wojciu
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...