Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

[Pytanie] jak zrobić coś takiego w skrypcie?

Rekomendowane odpowiedzi

Opublikowano

Witam mam pytanie
jak zrobić co takiego
mi to nie działa

 

					teleport %arg 2 to {cheat}

ja zrobilem tak i nie dziala ten teleport

 

on join:
	set {sprawdzanie.%player%} to true

command /sprawdz [<text>] [<text>]:
	trigger:
		if player has permissions "TabCraft.sprawdzanie":
			if arg 1 is not set:
				send "&c/sprawdz sprawdz [nick] - teleportuje gracza do klatki!" to player
				send "&c" to player
				send "&c" to player
				send "&c" to player
			if arg 1 is "sprawdz":
				if arg 2 is set:
					broadcast "&6>> &9Gracz o nicku %arg 2% jest podejrzany o cheaty!"
					execute console command "warp cheaty %arg 2%"
					teleport %arg 2 to {cheat}
			if arg 1 is "ustaw":
				set {cheat} to location of player
Opublikowano
on join:
	set {sprawdzanie.%player%} to true
command /sprawdz [<text>] [<text>]:
	trigger:
		if player has permissions "TabCraft.sprawdzanie":
			if arg 1 is not set:
				send "&c/sprawdz sprawdz [nick] - teleportuje gracza do klatki!" to player
				send "" to player
				send "" to player
				send "" to player
			if arg 1 is "sprawdz":
				if arg 2 is set:
					if {cheat} is not set:
						send "&fustaw najpierw miejsce!" to player
					if {cheat} is set:
						broadcast "&6>> &9Gracz o nicku %arg 2% jest podejrzany o cheaty!"
						execute console command "warp cheaty %arg 2%"
						teleport %arg 2% to {cheat}
			if arg 1 is "ustaw":
				set {cheat} to location of player

sprawdz to, nie sprawdzalem.

 

sygnatura.png

Opublikowano
  • Autor
on join:
	set {sprawdzanie.%player%} to true
command /sprawdz [<text>] [<text>]:
	trigger:
		if player has permissions "TabCraft.sprawdzanie":
			if arg 1 is not set:
				send "&c/sprawdz sprawdz [nick] - teleportuje gracza do klatki!" to player
				send "" to player
				send "" to player
				send "" to player
			if arg 1 is "sprawdz":
				if arg 2 is set:
					if {cheat} is not set:
						send "&fustaw najpierw miejsce!" to player
					if {cheat} is set:
						broadcast "&6>> &9Gracz o nicku %arg 2% jest podejrzany o cheaty!"
						execute console command "warp cheaty %arg 2%"
						teleport %arg 2% to {cheat}
			if arg 1 is "ustaw":
				set {cheat} to location of player

sprawdz to, nie sprawdzalem.

 

nie

Opublikowano
on join:
	set {sprawdzanie.%player%} to true
command /sprawdz [<text>] [<text>]:
	trigger:
		if player has permissions "TabCraft.sprawdzanie":
			if arg 1 is not set:
				send "&c/sprawdz sprawdz [nick] - teleportuje gracza do klatki!" to player
				send "" to player
				send "" to player
				send "" to player
			if arg 1 is "sprawdz":
				if arg 2 is set:
					if {cheat} is not set:
						send "&fustaw najpierw miejsce!" to player
					if {cheat} is set:
						broadcast "&6>> &9Gracz o nicku %arg 2% jest podejrzany o cheaty!"
						execute console command "warp cheaty %arg 2%"
						teleport %arg 2% to %{cheat}%
			if arg 1 is "ustaw":
				set {cheat} to location of player

sprawdź.

 

sygnatura.png

Opublikowano
  • Autor
on join:
	set {sprawdzanie.%player%} to true
command /sprawdz [<text>] [<text>]:
	trigger:
		if player has permissions "TabCraft.sprawdzanie":
			if arg 1 is not set:
				send "&c/sprawdz sprawdz [nick] - teleportuje gracza do klatki!" to player
				send "" to player
				send "" to player
				send "" to player
			if arg 1 is "sprawdz":
				if arg 2 is set:
					if {cheat} is not set:
						send "&fustaw najpierw miejsce!" to player
					if {cheat} is set:
						broadcast "&6>> &9Gracz o nicku %arg 2% jest podejrzany o cheaty!"
						execute console command "warp cheaty %arg 2%"
						teleport %arg 2% to %{cheat}%
			if arg 1 is "ustaw":
				set {cheat} to location of player

sprawdź.

 

http://scr.hu/1vne/t30dr

 

 

 

JUŻ WIEM JAK TO ZROBIĆ!

 

teleport argument 2 to {CHEATY}

 

Edytowane przez MrFretko

Opublikowano
on join:
    set {sprawdzanie.%player%} to true
command /sprawdz [<text>] [<player>]:
    trigger:
        if player has permissions "TabCraft.sprawdzanie":
            if arg 1 is not set:
                send "&c/sprawdz sprawdz [nick] - teleportuje gracza do klatki!" to player
                send "" to player
                send "" to player
                send "" to player
            if arg 1 is "sprawdz":
                if arg 2 is set:
                    if {cheat.%world%} is not set:
                        send "&fustaw najpierw miejsce!" to player
                    if {cheat.%world%} is set:
                        broadcast "&6>> &9Gracz o nicku %arg 2% jest podejrzany o cheaty!"
                        execute console command "warp cheaty %arg 2%"
                        set %arg 2% to {_tpplayer}
                        teleport the {_tpplayer} to {cheat.%world%}
            if arg 1 is "ustaw":
                set {cheat.%world%} to location of player

sprawdz.

Edytowane przez HardStyl3r_PL

 

sygnatura.png

Opublikowano

 

Witam mam pytanie

jak zrobić co takiego

mi to nie działa

 

 

					teleport %arg 2 to {cheat}

ja zrobilem tak i nie dziala ten teleport

 

 

on join:
	set {sprawdzanie.%player%} to true

command /sprawdz [<text>] [<text>]:
	trigger:
		if player has permissions "TabCraft.sprawdzanie":
			if arg 1 is not set:
				send "&c/sprawdz sprawdz [nick] - teleportuje gracza do klatki!" to player
				send "&c" to player
				send "&c" to player
				send "&c" to player
			if arg 1 is "sprawdz":
				if arg 2 is set:
					broadcast "&6>> &9Gracz o nicku %arg 2% jest podejrzany o cheaty!"
					execute console command "warp cheaty %arg 2%"
					teleport %arg 2 to {cheat}
			if arg 1 is "ustaw":
				set {cheat} to location of player

czyli plagiat z mojego serwera x ahhh ;/

Edytowane przez Blezur
IP.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

Ostatnio przeglądający 0

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

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.