Skocz do zawartości
  • 0

Skrypt na pieniądze za bloki


Pytanie

9 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on mine <blok>: #wpisz nazwe bloku
	set {win} to a random integer between 0 and 10
	{win} is 0:
		execute console command "/eco give %player% 0.03"
	{win} is 1:
		execute console command "/eco give %player% 0.10"
	{win} is 2:
		execute console command "/eco give %player% 0.50"
	{win} is 3:
		execute console command "/eco give %player% 1.00"
	{win} is 4:
		execute console command "/eco give %player% 1.20"
	{win} is 5:
		execute console command "/eco give %player% 1.60"
	{win} is 6:
		execute console command "/eco give %player% 1.80"
	{win} is 7:
		execute console command "/eco give %player% 2.00"
	{win} is 8:
		execute console command "/eco give %player% 2.25"
	{win} is 9:
		execute console command "/eco give %player% 2.50"
	{win} is 10:
		execute console command "/eco give %player% 3.00"

Wymaga essentials.

Odnośnik do komentarza
https://skript.pl/temat/24882-skrypt-na-pieni%C4%85dze-za-bloki/#findComment-165951
Udostępnij na innych stronach

  • 0

@bvcz wywala błąd:

 

Spoiler

[00:52:28 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (zwir.sk, line 3: if "%region at event-block%" contains "test":')

 

Odnośnik do komentarza
https://skript.pl/temat/24882-skrypt-na-pieni%C4%85dze-za-bloki/#findComment-165970
Udostępnij na innych stronach

  • 0

 

on mine <blok>: #wpisz nazwe bloku
  	region is "nazwa":
      set {win} to a random integer between 0 and 10
      {win} is 0:
          execute console command "/eco give %player% 0.03"
      {win} is 1:
          execute console command "/eco give %player% 0.10"
      {win} is 2:
          execute console command "/eco give %player% 0.50"
      {win} is 3:
          execute console command "/eco give %player% 1.00"
      {win} is 4:
          execute console command "/eco give %player% 1.20"
      {win} is 5:
          execute console command "/eco give %player% 1.60"
      {win} is 6:
          execute console command "/eco give %player% 1.80"
      {win} is 7:
          execute console command "/eco give %player% 2.00"
      {win} is 8:
          execute console command "/eco give %player% 2.25"
      {win} is 9:
          execute console command "/eco give %player% 2.50"
      {win} is 10:
          execute console command "/eco give %player% 3.00"

może teraz będzie działać ?

Odnośnik do komentarza
https://skript.pl/temat/24882-skrypt-na-pieni%C4%85dze-za-bloki/#findComment-165996
Udostępnij na innych stronach

  • 0

Nie wywala błędów, ale po ustawieniu regionu już z tego bloku nie dostaję $$ nawet na tym regionie.

 

Jeszcze jedno pytanie: Da się może użyć innej komendy na dawanie pieniędzy, strasznie zaśmieca konsolę.

Odnośnik do komentarza
https://skript.pl/temat/24882-skrypt-na-pieni%C4%85dze-za-bloki/#findComment-166030
Udostępnij na innych stronach

  • 0

on mine of gravel:
    if regions at player's location contains "region":
        add (random number between 0.02 and 3) to player's balance

Edytowane przez LloydPL
Odnośnik do komentarza
https://skript.pl/temat/24882-skrypt-na-pieni%C4%85dze-za-bloki/#findComment-166050
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ę...