Skocz do zawartości
  • 0

Działki kasa


wilk2007r

Pytanie

Witam mam plugin PlotSquared chciałbym zeby gracze musieli zapłacić za kupno działki 1500 ale tam jest tylko jak ktos sprzedaję wtedy można kupic naprawi mi ktoś ten skript.

 

[16:22:06] [Server thread/WARN]: [Skript] 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. (dzialkakup.sk, line 3: if player is in world "Dzialkiwilka":')
[16:22:06] [Server thread/WARN]: [Skript] 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. (dzialkakup.sk, line 4: if player's balance is greater than or equal to 1500:')
[16:22:06] [Server thread/WARN]: [Skript] 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. (dzialkakup.sk, line 10: else:')
[16:22:06] [Server thread/WARN]: [Skript] 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. (dzialkakup.sk, line 13: else:')

Odnośnik do komentarza
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0
command /kup:
	trigger:
		if player is in world "Dzialkiwilka":
			if player's balance is greater than or equal to 1500:
				execute player command "/plotme claim"
				send "&6&lDI&e&lGG&6&lERS&f: &e%player% &2Gratulacje kupiłeś Działkę."
				remove 1500 from player's balance
				broadcast "&6&lDI&e&lGG&6&lERS&f: &e%player% &6 - Kupił Działkę &b&l."
				stop
			else:
				send "&6&lDI&e&lGG&6&lERS&f: &e%player% &2- dozbieraj jeszcze pieniądze."
				stop
		else:
			send "&6&lDI&e&lGG&6&lERS&f: &e%player% &2- działke możesz kupić tylko na &b/dzialki"
			stop

 

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...