Skocz do zawartości
  • 0

Skrypt Nie Dziala [OPIS]


Pytanie

Wiec jak gracz ma mniej niz 15 zl na koncie nie dawalo mu Vipa a jak wiecej to niech da i zabierze hajs 

EDIT: Nie Przejmujcie sie tymi "chance of 0%" to jest ustowione na swoje procenty po dodaniu posta!

kod:

#kopanie
variables:
	kopac.%player% = true
	kasa.%player% = 0
on mine of stone:
	chance of 0%:
		add 1 to {kasa.%player%}
		send "&cDodano 1 do twojego Konta" to player
	chance of 0%:
		add 0.25 to {kasa.%player%}
		send "&cDodano 0.25 do twojego Konta" to player
	chance of 0%:
		add 0.1 to {kasa.%player%}
		send "&cDodano 0.1 do twojego Konta" to player
	chance of 0%:
		add 10 to {kasa.%player%}
		send "&cDodano 10 do twojego Konta" to player
	chance of 0%:
		add 0.01 to {kasa.%player%}
		send "&cDodano 0.01 do twojego Konta" to player

#dodawanie
command /dodaj1 [<player>]:
	trigger:
		add 1 to {kasa.%arg-player%}
		send "&cDodano 1 do twojego konta" to player
command /usun1 [<player>]:
	trigger:
		remove 1 from {kasa.%arg-player%}
		send "&cUsunieto 1 z twojego Konta" to player
command /kasa:
	trigger:
		send "&cTwoje Saldo to &a&l%{kasa.%player%}% $" to player
		
command /dajVIP [<player>]:
	permission: sawio.vipvip
	permission message: &cNie Masz Pozwolenia do tej Komendy!
	trigger:
		if {kasa.%player%} is bigger than 15:
		remove 15.30 from {kasa.%player%}
		execute console command "pex user %player% group add VIP * 30d"
		else:
		if {kasa.%player%} is smaller than 15:
		send "&cNie Masz Kasy!" to player
		stop

Chcialem Dac Obrazek z Reloadu Skryptu ale Nie Wiem Jak wiec jak cos piszcie w komentarzach sprobuje wam wyslac :) 

 

Edytowane przez swiopolski sw
Odnośnik do komentarza
https://skript.pl/temat/37389-skrypt-nie-dziala-opis/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
variables:
	{kopac.%player%} = true
	{kasa.%player%} = 0
on mine of stone:
	chance of 0%:
		add 1 to {kasa.%player%}
		send "&cDodano 1 do twojego Konta" to player
	chance of 0%:
		add 0.25 to {kasa.%player%}
		send "&cDodano 0.25 do twojego Konta" to player
	chance of 0%:
		add 0.1 to {kasa.%player%}
		send "&cDodano 0.1 do twojego Konta" to player
	chance of 0%:
		add 10 to {kasa.%player%}
		send "&cDodano 10 do twojego Konta" to player
	chance of 0%:
		add 0.01 to {kasa.%player%}
		send "&cDodano 0.01 do twojego Konta" to player

#dodawanie
command /dodaj1 [<player>]:
	trigger:
		add 1 to {kasa.%arg-player%}
		send "&cDodano 1 do twojego konta" to player
command /usun1 [<player>]:
	trigger:
		remove 1 from {kasa.%arg-player%}
		send "&cUsunieto 1 z twojego Konta" to player
command /kasa [<text>]:
	trigger:
		send "&cTwoje Saldo to &a&l%{kasa.%player%}% $" to player
		
command /dajVIP [<player>]:
	permission: sawio.vipvip
	permission message: &cNie Masz Pozwolenia do tej Komendy!
	trigger:
		if {kasa.%player%} >= 15.30:
			remove 15.30 from {kasa.%player%}
			execute console command "pex user %player% group add VIP * 30d"
		else if {kasa.%player%} < 15.30:
			send "&cNie Masz Kasy!" to player
			stop	

 

Odnośnik do komentarza
https://skript.pl/temat/37389-skrypt-nie-dziala-opis/#findComment-237925
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ę...