Skocz do zawartości
  • 0

sk na off ,on tnt


HiSzPaN VIP

Pytanie

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /tnt [<text>]:
	permission: tnt.admin
	trigger:
		if arg 1 is "on":
			set {status.tnt} to true
			broadcast "&6Włączono wybuch tnt na całym serwerze"
		if arg 1 is "off":
			set {status.tnt} to false
			broadcast "&6Wyłączono wybuch tnt na całym serwerze"	
			
on explode:
	if {status.tnt} is false:
		cancel event
		

nie testowalem, napisałem na szybko

Odnośnik do komentarza
https://skript.pl/temat/12651-sk-na-off-on-tnt/#findComment-88406
Udostępnij na innych stronach

  • 0
2 minuty temu, grzybeek napisał:

command /tnt [<text>]:
	permission: tnt.admin
	trigger:
		if arg 1 is "on":
			set {status.tnt} to true
			broadcast "&6Włączono wybuch tnt na całym serwerze"
		if arg 1 is "off":
			set {status.tnt} to false
			broadcast "&6Wyłączono wybuch tnt na całym serwerze"	
			
on explode:
	if {status.tnt} is false:
		cancel event
		

nie testowalem, napisałem na szybko

działa wszystko a moge prosić o taki sam skrypt tylk na creeper ? /ogorek on/off z góry dziękuje

Odnośnik do komentarza
https://skript.pl/temat/12651-sk-na-off-on-tnt/#findComment-88407
Udostępnij na innych stronach

  • 0
command /tnt [<text>]:
	permission: tnt.admin
	trigger:
		if arg 1 is "on":
			set {status.tnt} to true
			broadcast "&6Włączono wybuch tnt na całym serwerze"
		if arg 1 is "off":
			set {status.tnt} to false
			broadcast "&6Wyłączono wybuch tnt na całym serwerze"	
			
command /ogorek [<text>]:
	permission: creeper.admin
	trigger:
		if arg 1 is "on":
			set {status.creeper} to true
			broadcast "&6Włączono wybuch creeperow na całym serwerze"
		if arg 1 is "off":
			set {status.creeper} to false
			broadcast "&6Wyłączono wybuch creeperow na całym serwerze"	
			
on explode:
	if entity is tnt:
		if {status.tnt} is false:
			cancel event
	if entity is creeper:
		if {status.creeper} is false:
			cancel event

poprawilem i dodalem creepery, poprzedni wyłączał wszystkie wybuchy 

Odnośnik do komentarza
https://skript.pl/temat/12651-sk-na-off-on-tnt/#findComment-88408
Udostępnij na innych stronach

  • 0
5 minut temu, grzybeek napisał:

command /tnt [<text>]:
	permission: tnt.admin
	trigger:
		if arg 1 is "on":
			set {status.tnt} to true
			broadcast "&6Włączono wybuch tnt na całym serwerze"
		if arg 1 is "off":
			set {status.tnt} to false
			broadcast "&6Wyłączono wybuch tnt na całym serwerze"	
			
command /ogorek [<text>]:
	permission: creeper.admin
	trigger:
		if arg 1 is "on":
			set {status.creeper} to true
			broadcast "&6Włączono wybuch creeperow na całym serwerze"
		if arg 1 is "off":
			set {status.creeper} to false
			broadcast "&6Wyłączono wybuch creeperow na całym serwerze"	
			
on explode:
	if entity is tnt:
		if {status.tnt} is false:
			cancel event
	if entity is creeper:
		if {status.creeper} is false:
			cancel event

poprawilem i dodalem creepery, poprzedni wyłączał wszystkie wybuchy 

na creepery jeden blad

Edytowane przez HiSzPaN VIP
dziala z bledem
Odnośnik do komentarza
https://skript.pl/temat/12651-sk-na-off-on-tnt/#findComment-88409
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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