Skocz do zawartości
  • 0

Dlaczego to nie działa?


Pytanie

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
5 godzin temu, NaciukanY napisał:

Blah... Blah... xD

Nie wierze w cb gościu :P

Spoiler

variables:
	{uzyl.gracz::%player%} = 0
	{uzyl.vip::%player%} = 0
	{uzyl.svip::%player%} = 0
options:
	#w sekundach
	coldown.gracz: 500
	coldown.vip: 200
	coldown.svip: 100
command /kit [<text>]:
	aliases: kity, kits, kit
	trigger:
		if argument 1 is not set:
			send "&8&l&m------------&8[ &6Zestawy &8]&8&l&m------------"
			send "&8> &6/kit &cGracz"
			send "&8> &6/kit &cVip"
			send "&8> &6/kit &csVip"
			send "&8&l&m----------&8[ &6Zestawy &8]&8&l&m----------"
		if arg 1 is "Gracz":
			if player has permission "kit.gracz":
				if {uzyl.gracz::%player%} > "0":
					send "Musisz odczekac jeszcze %{uzyl.gracz::%player%}%s."
				else:
					send "&8> &6Kit &cGracz &6Zostal ci przydzielony!"
					give leather helmet of protection 5 named "&fKit Gracz" to player
					give leather chestplate of protection 5 named "&fKit Gracz" to player
					give leather leggings of protection 5 named "&fKit Gracz" to player
					give leather boots of protection 5 named "&fKit Gracz" to player
					give iron sword of sharpness 5 named "&fKit Gracz" to player
					give 64 cooked porkchop named "&fKit Gracz" to player
					set {uzyl.gracz::%player%} to "%{coldown.gracz}%"
					stop
		if argument 1 is "vip":
			if player has permission "kit.vip":
				if {uzyl.vip::%player%} > "0":
					send "Musisz odczekac jeszcze %{uzyl.vip::%player%}%s."
				else:
					send "&8> &6Kit &cVip &6Zostal ci przydzielony!"
					give diamond helmet of protection 4 and Unbreaking 3 named "&8> &6Zestaw &cVIP" to player
					give diamond chestplate of protection 4 and Unbreaking 3 named "&8> &6Zestaw &cVIP" to player
					give diamond leggings of protection 4 and Unbreaking 3 named "&8> &6Zestaw &cVIP" to player
					give diamond boots of protection 4 and Unbreaking 3 named "&8> &6Zestaw &cVIP" to player
					give diamond sword of sharpness 5 and Unbreaking 3 and fire aspect 2 named "&8> &6Zestaw &cVIP" to player
					give 64 cooked porkchop named "&8> &6Zestaw &cVIP" to player
					give 16 golden apple named "&8> &6Zestaw &cVIP" to player
					give 2 322:1 named "&8> &6Zestaw &cVIP" to player
					set {uzyl.vip::%player%} to "%{coldown.vip}%"
					stop
		if argument 1 is "supervip" or "svip":
			if player has permission "Kit.SuperVip":
				if {uzyl.svip::%player%} > "0":
					send "Musisz odczekac jeszcze %{uzyl.svip::%player%}%s."
				else:
					send "&8> &6Kit &csVip &6Zostal ci przydzielony!"
					give diamond helmet of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give diamond chestplate of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give diamond leggings of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give diamond boots of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give diamond sword of sharpness 5 and Unbreaking 3 and fire aspect 2 named "&8> &6Zestaw &csVIP" to player
					give diamond helmet of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give diamond chestplate of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give diamond leggings of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give diamond boots of protection 4 and Unbreaking 3 named "&8> &6Zestaw &csVIP" to player
					give 64 cooked porkchop named "&8> &6Zestaw &csVIP" to player
					give 32 golden apple named "&8> &6Zestaw &csVIP" to player
					give 4 322:1 named "&8> &6Zestaw &cVIP" to player
					set {uzyl.svip::%player%} to "%{coldown.svip}%"
					stop

every 1 second:
	loop all players:
		if {uzyl.gracz::%loop-player%} > "0":
			remove 1 from {uzyl.gracz::%loop-player%}
		if {uzyl.vip::%loop-player%} > "0":
			remove 1 from {uzyl.vip::%loop-player%}
		if {uzyl.svip::%loop-player%} > "0":
			remove 1 from {uzyl.svip::%loop-player%}

 

 

Odnośnik do komentarza
https://skript.pl/temat/10113-dlaczego-to-nie-dzia%C5%82a/#findComment-75627
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ę...