Skocz do zawartości
  • 0

GAMEMODE


slenderek54

Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /gm [<text>] [<player>]:
	permission: gm.adm
	permission message: &cBrak uprawnienia! &6(gm.adm)
	trigger:
		if arg 2 is set:
			if arg 1 is "1":
				set the gamemode of arg 2 to creative
				send "&c%player% &7zmienil twoj tryb gry na &ckreatywny!" to arg 2
				send "&7Zminiels tryb gry gracza &c%arg 2% &7na kreatywny!"
			if arg 1 is "0":
				set the gamemode of arg 2 to survival
				send "&c%player% &7zmienil twoj tryb gry na &cprzetrwanie!" to arg 2
				send "&7Zminiels tryb gry gracza &6%arg 2% &cna przetrwanie!"
			if arg 1 is "2":
				set the gamemode of arg 2 to adventure
				send "&c%player% &7zmienil twoj tryb gry na &cprzygodowy!" to arg 2
				send "&7Zminiels tryb gry gracza &c%arg 2% &cna przygodowy!"
		else:
			if arg 1 is "1":
				set the gamemode of the player to creative
				send "&7Zmeniles swoj tryb gry na &cna kreatywny!"
			if arg 1 is "0":
				set the gamemode of the player to survival
				send "&7Zmeniles swoj tryb gry na &cna przetrwanie!"
			if arg 1 is "2":
				set the gamemode of the player to adventure
				send "&7Zmeniles swoj tryb gry na &cna przygodowy!"

 

Odnośnik do komentarza
https://skript.pl/temat/20998-gamemode/#findComment-142810
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ę...