Skocz do zawartości
  • 0

Sklep za punkty


WERTEŁ

Pytanie

siemka potrzebny mi skrypt na sklep za punkty a więc o co chodzi? kupujesz punkty na stronie www i daje ci 100 punktów jeśli już posiadasz punkty możesz zakupić rangi takie jak mvip, vip, vip+, vip++ (ceny se sam ustawie) jeśli ktoś zrobi to wielkie dzięki a przykład możecie wziąć z serwera kraniamc.pl)

Odnośnik do komentarza
https://skript.pl/temat/18737-sklep-za-punkty/
Udostępnij na innych stronach

9 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Nwm czy o to ci chodzilo i czy dziala przetestuj :D Na stronie punkty dodajesz komenda  /dajpunkty <gracz> <ilosc>

variables:
	{c::%player%} = 0
		
		
command /dajpunkty <player> [<integer>]:
	permission: dajpkt
	trigger:
		add arg-2 to {c::%arg 1%}

command /kuprange:
	trigger:
	open chest with 1 row named "&4Kup range" to player
	wait 2 ticks
	format slot 0 of player with 1 of paper named "&6Mvip" with lore "&4Cena: " to run [make player execute command "/mvip"]	
	format slot 1 of player with 1 of paper named "&6Vip" with lore "&4Cena: " to run [make player execute command "/vip"]	
	format slot 2 of player with 1 of paper named "&6Vip+" with lore "&4Cena: " to run [make player execute command "/vip1"]	
	format slot 3 of player with 1 of paper named "&6Vip++" with lore "&4Cena: " to run [make player execute command "/vip2"]
command /mvip:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add mvip"
command /vip:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add vip"
command /vip1:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add vip1"
command /vip2:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add vip2"

 

Odnośnik do komentarza
https://skript.pl/temat/18737-sklep-za-punkty/#findComment-127814
Udostępnij na innych stronach

  • 0
33 minuty temu, lizz0r napisał:

Nwm czy o to ci chodzilo i czy dziala przetestuj :D Na stronie punkty dodajesz komenda  /dajpunkty <gracz> <ilosc>


variables:
	{c::%player%} = 0
		
		
command /dajpunkty <player> [<integer>]:
	permission: dajpkt
	trigger:
		add arg-2 to {c::%arg 1%}

command /kuprange:
	trigger:
	open chest with 1 row named "&4Kup range" to player
	wait 2 ticks
	format slot 0 of player with 1 of paper named "&6Mvip" with lore "&4Cena: " to run [make player execute command "/mvip"]	
	format slot 1 of player with 1 of paper named "&6Vip" with lore "&4Cena: " to run [make player execute command "/vip"]	
	format slot 2 of player with 1 of paper named "&6Vip+" with lore "&4Cena: " to run [make player execute command "/vip1"]	
	format slot 3 of player with 1 of paper named "&6Vip++" with lore "&4Cena: " to run [make player execute command "/vip2"]
command /mvip:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add mvip"
command /vip:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add vip"
command /vip1:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add vip1"
command /vip2:
	trigger:
		if {c::%player%} >= <tutaj ilosc coinsow>:
			remove < ilosc coinsow > from {c::%player%}
			execute console command "pex user %player% group add vip2"

 

tak chodziło mi o to ale ten skrypt nie działa ma błędy jakbyś mógł to naprawić i podesłać było by epicko

 

Odnośnik do komentarza
https://skript.pl/temat/18737-sklep-za-punkty/#findComment-127816
Udostępnij na innych stronach

  • 0
command /kuprange:
	trigger:
		open chest with 1 row named "&4Kup range" to player
		wait 2 tick
		format slot 0 of player with 1 of paper named "&6Mvip" with lore "&4Cena: " to run [make player execute command "/mvip"]
		format slot 1 of player with 1 of paper named "&6Vip" with lore "&4Cena: " to run [make player execute command "/vip"]	
		format slot 2 of player with 1 of paper named "&6Vip+" with lore "&4Cena: " to run [make player execute command "/vip1"]	
		format slot 3 of player with 1 of paper named "&6Vip++" with lore "&4Cena: " to run [make player execute command "/vip2"]

 

Odnośnik do komentarza
https://skript.pl/temat/18737-sklep-za-punkty/#findComment-127821
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ę...