Skocz do zawartoś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] Teleportacja - eq.


Rekomendowane odpowiedzi

Opublikowano

Witam chciałbym was zapytać jak zrobić takie coś że np po teleportacji daje graczowi eq.

Robie serwer pvp i mam tryby hard,fosa itd i np jak tepa mnie na Tryb Fosa aby dawało graczowi eq

Macie na to jakis sposob? Daje lajki za sensowane odpowiedzi

Mój Serwer Treningowy PvP IP APVP.PL

Opublikowano


command /fosa: <-- jakiś event

trigger:

clear the player's inventory <-- usuwa eq gracza

teleport player to (daj tu lokację gdzie ma się pojawiać gracz) <-- teleport do lokacji

give (jakiś item, np. diamond sword) to player <-- dawanie itemów

 

Jestem wesoły romek

Opublikowano

@Dark.Craft

Zrob mi tak zeby bylo /fosa i zeby mialo itemy Miecz 5/2 Miecz Knock2 set 4/3 2 koxy i 5 refow i 64 Chelby moglbys?

Mój Serwer Treningowy PvP IP APVP.PL

Opublikowano
command /fosa:
    trigger:
        clear the player's inventory
        teleport player to (daj tu lokację gdzie ma się pojawiać gracz)
        give diamond sword of sharpness 5 and fire 2 to player
        give diamond sword of knockback 2 to player
        give 64 322 to player
        give 2 322:1 to player
        equip player with all diamond armour of protection 4 and unbreaking 3 

­

Jestem wesoły romek

Opublikowano

ej mam jeden bład ponieważ nie dało mi miecza 5/2 a knock dziala co zrobic?

Mój Serwer Treningowy PvP IP APVP.PL

Opublikowano

 

Chyba że wolisz coś taiego

options:
	nazwa: swiat #totaj wproawdz nazwe swiata

on teleport:
	cancel event
	if player isn't in world "{@nazwa}":
		uncancel event
		wait 1 second
		if player is in world "{@nazwa}":
			give diamond sword of sharpness 5 and fire 2 to player
			give diamond sword of knockback 2 to player
			give 64 322 to player
			give 2 322:1 to player
	else:
		uncancel event
Opublikowano

@rafi789 Jeśli mogłbys to zrob mi tak zeby po wpisaniu /fosa resetowalo eq potem tepalo na arene dawalo te Eq Fosa

Mój Serwer Treningowy PvP IP APVP.PL

Opublikowano

@RedzioxD masz

 

teraz nie potrzebne jest te on teleport 

command /fosa [<text>]:
	trigger:
		if sender has permission or "gracz.fosa":
			if arg 1 is not set:
				send "Komendy:" to player
				send "/fosa dolacz" to player
				send "/fosa wyjdz" to player
				if sender has permission "admin.fosa":
					send "/fosa ustawarene" to player
					send "/fosa ustawwyjscie" to player
			if arg 1 is "pomoc":
				send "Komendy:" to player
				send "/fosa dolacz" to player
				send "/fosa wyjdz" to player
				if sender has permission "admin.fosa":
					send "/fosa ustawarene" to player
					send "/fosa ustawwyjscie" to player
			if arg 1 is "dolacz":
				if {tp.location} is not set:
					send "nie ma areny" to player
				else:
					set {fosa:%player%} to serialized inventory of player
					clear player's inventory
					teleport player to {tp.location}
					give diamond sword of sharpness 5 and fire 2 to player
					give diamond sword of knockback 2 to player
					give 64 322 to player
					give 2 322:1 to player
					
			if arg 1 is "wyjdz":
				if {wyjscie.location} is not set:
					send "Nie ma wyjscia :<" to player
				else:
					clear player's inventory
					teleport player to {wyjscie.location}
					restore inventory of player from {fosa:%player%}
			if sender has permission "admin.fosa":
				if arg 1 is "ustawarene":
					set {tp.location} to location of player
					send "Ustawiono arene" to player
				if arg 1 is "ustawwyjscie":
					set {wyjscie.location} to location of player
					send "Ustawiono wyjscie" to player
Opublikowano

tak jak pisałem wcześniej jak napisze /fosa to resetuje eq tepa mnie na arene fosa daje eq Fosy i gotowe

Mój Serwer Treningowy PvP IP APVP.PL

Opublikowano

może o to ci chodzi

variables:
	{wlaczone} = false

options:
	nazwa: swiat #totaj wproawdz nazwe swiata

on teleport:
	if {wlaczone} is true:
		cancel event
		if player isn't in world "{@nazwa}":
			uncancel event
			wait 1 second
			if player is in world "{@nazwa}":
				give diamond sword of sharpness 5 and fire 2 to player
				give diamond sword of knockback 2 to player
				give 64 322 to player
				give 2 322:1 to player
		else:
			uncancel event

command /fosa:
	permission admin.foas
	trigger:
		if {wlaczone} is true:
			send "Wylaczono" to player
			set {wlaczone} to false
		else:
			send "wlaczono" to player
			set {wlaczone} to true

Aha zaraz to poprawie i ci dam :>

command /fosa:
	set {fosa:%player%} to serialized inventory of player
	clear player's inventory
	teleport player to {tp.location}
	give diamond sword of sharpness 5 and fire 2 to player
	give diamond sword of knockback 2 to player
	give 64 322 to player
	give 2 322:1 to player
Opublikowano

command /fosa:
    set {fosa:%player%} to serialized inventory of player
    clear player
's inventory
    teleport player to {tp.location}
    give diamond sword of sharpness 5 and fire 2 to player
    give diamond sword of knockback 2 to player
    give 64 322 to player
    give 2 322:1 to player

 

 

Nie chodzi @rafi789

Mój Serwer Treningowy PvP IP APVP.PL

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...