Skocz do zawartości
  • 0

Limit Hopperow


gmpl

Pytanie

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on place of hopper:
	if player don't have permission "nazwa.vip":
		if {hopper::%player%} is more than 80:
			cancel event
			send "&cNie możesz postawić więcej hopperów!"
	else:
		add 1 to {hopper::%player%}
on break of hopper:
	if {hopper::%player%} is more than 0:
		remove 1 from {hopper::%player%}

 

Odnośnik do komentarza
https://skript.pl/temat/36273-limit-hopperow/#findComment-232085
Udostępnij na innych stronach

  • 0
1 godzinę temu, Helios1993 napisał:

on place of hopper:
	if player don't have permission "nazwa.vip":
		if {hopper::%player%} is more than 80:
			cancel event
			send "&cNie możesz postawić więcej hopperów!"
	else:
		add 1 to {hopper::%player%}
on break of hopper:
	if {hopper::%player%} is more than 0:
		remove 1 from {hopper::%player%}

 

Wsensie aby zwykły gracz mógł 80, a vip 100

Odnośnik do komentarza
https://skript.pl/temat/36273-limit-hopperow/#findComment-232097
Udostępnij na innych stronach

  • 0
on place of hopper:
	if player don't have permission "nazwa.vip":
		if {hopper::%player%} is more than 80:
			cancel event
			send "&cNie możesz postawić więcej hopperów!"
		else:
			add 1 to {hopper::%player%}
	else:
		if {hopper::%player%} is more than 100:
			cancel event
			send "&cNie możesz postawić więcej hopperów!"
		else:
			add 1 to {hopper::%player%}
on break of hopper:
	if {hopper::%player%} is more than 0:
		remove 1 from {hopper::%player%}

wiem, słabo napisane, ale miałem przerwę od minecrafta i trochę rzeczy pozapominałem

Odnośnik do komentarza
https://skript.pl/temat/36273-limit-hopperow/#findComment-232101
Udostępnij na innych stronach

  • 0
on break of hopper:
	if {hopper::%location of event-block%} is set:
		if remove 1 from {limitHopper::%{hopper::%location of event-block%}%}

on place of hopper:
	if {limitHopper::%player%} is not set:
		set {limitHopper::%player%} to 0

	if player has permission "nazwa.vip":
		if {limitHopper::%player%} >= 100:
			cancel event
			send "LImit 100"
			stop    
	else:
		if {limitHopper::%player%} >= 80:
			cancel event
			send "Limit 80"
			stop
	add 1 to {limitHopper::%player%}
	set {hopper::%location of event-block%} to player

 

Odnośnik do komentarza
https://skript.pl/temat/36273-limit-hopperow/#findComment-232103
Udostępnij na innych stronach

  • 0
18 godzin temu, PanMaruda napisał:

on break of hopper:
	if {hopper::%location of event-block%} is set:
		if remove 1 from {limitHopper::%{hopper::%location of event-block%}%}

on place of hopper:
	if {limitHopper::%player%} is not set:
		set {limitHopper::%player%} to 0

	if player has permission "nazwa.vip":
		if {limitHopper::%player%} >= 100:
			cancel event
			send "LImit 100"
			stop    
	else:
		if {limitHopper::%player%} >= 80:
			cancel event
			send "Limit 80"
			stop
	add 1 to {limitHopper::%player%}
	set {hopper::%location of event-block%} to player

 

OAprYR.jpg

Odnośnik do komentarza
https://skript.pl/temat/36273-limit-hopperow/#findComment-232194
Udostępnij na innych stronach

  • 0
on break of hopper:
	if {hopper::%location of event-block%} is set:
		remove 1 from {limitHopper::%{hopper::%location of event-block%}%}

on place of hopper:
	if {limitHopper::%player%} is not set:
		set {limitHopper::%player%} to 0

	if player has permission "nazwa.vip":
		if {limitHopper::%player%} >= 100:
			cancel event
			send "LImit 100"
			stop    
	else:
		if {limitHopper::%player%} >= 80:
			cancel event
			send "Limit 80"
			stop
	add 1 to {limitHopper::%player%}
	set {hopper::%location of event-block%} to player

 

Odnośnik do komentarza
https://skript.pl/temat/36273-limit-hopperow/#findComment-232199
Udostępnij na innych stronach

  • 0
13 minut temu, PanMaruda napisał:

on break of hopper:
	if {hopper::%location of event-block%} is set:
		remove 1 from {limitHopper::%{hopper::%location of event-block%}%}

on place of hopper:
	if {limitHopper::%player%} is not set:
		set {limitHopper::%player%} to 0

	if player has permission "nazwa.vip":
		if {limitHopper::%player%} >= 100:
			cancel event
			send "LImit 100"
			stop    
	else:
		if {limitHopper::%player%} >= 80:
			cancel event
			send "Limit 80"
			stop
	add 1 to {limitHopper::%player%}
	set {hopper::%location of event-block%} to player

 

Dziękuję bardzo ;D

Odnośnik do komentarza
https://skript.pl/temat/36273-limit-hopperow/#findComment-232209
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ę...