Skocz do zawartości
  • 0

Limit Wejść na mape


Pytanie

Rekomendowane odpowiedzi

  • 0
on death:    if victim is player:        if attacker is a player:            broadcast "&7Gracz &8%victim% &7zostal zabity przez gracza &8%attacker%" to "world"            set death message to ""            add 10 to attacker's account

Można skrócić

on death:    if victim is player:        if attacker is a player:            set death message to "&7Gracz &8%victim% &7zostal zabity przez gracza &8%attacker%" to "world"            add 10 to attacker's account

Jest 2 razy respawn... usuń jedno.

Odnośnik do komentarza
https://skript.pl/temat/881-limit-wej%C5%9B%C4%87-na-mape/#findComment-6214
Udostępnij na innych stronach

  • 0

 

on rightclick on sign:	line 1 is "mapa1":		teleport player to {ustaw.mapa}		give 1 emerald to player		give 1 diamond to player                command /opusc:	trigger:		kill the player        on respawn:	set player nametag to "%player%"on death:	if victim is player:		if attacker is a player:			set death message to "&7Gracz &8%victim% &7zostal zabity przez gracza &8%attacker%" to "world"			add 10 to attacker's accountcommand /classpvp [<text&gt]	trigger:		if arg 1 is "ustaw":			if arg 2 is "mape":				send "&bUstawiles mape!"				set {ustaw.mape} to location of player			if arg 1 is "ustaw":			if player has permission "teleport":				if arg 2 is "teleport" or "tp":					set {class.pvp} to location of player					send "&bUstawiles teleport!"		if arg 1 is "tp"			send "&2Teleportowales sie"			teleport player to {class.pvp}					command /team [<text&gt] [<text&gt]:	trigger:		if arg 1 is "spawn":			if player has permission "team.spawn":				if arg 2 is "b":					set {spawn.team.b} to location of player					send "&bUstawiles spawn teamu &4B"				if arg 2 is "a":					set {spawn.team.a} to location of player					send "&bUstawiles spawn teamu &1A"				if arg 1 is "dolacz":			if arg 2 is "a":				send "&2Dolaczyles do druzyny &1A"				teleport player to {spawn.team.a}				set player nametag to "&7[&1 A &7]&1"				remove diamond from the player				remove emerald from the player			if arg 2 is "b":				send "&2Dolaczyles do druzyny &4B"				teleport player to {spawn.team.b}				set player nametag to "&7[&4 B &7]&1"				remove diamond from the player				remove emerald from the player#------------------------------------------------------------------------------------------------command /lucznik:	permission: lucznik.classpvp	trigger:		give bow to player		give 64 arrow  to player		give stone sword to player		remove emerald from the player

Weź ustaw teraz spawn komendą /classpvp ustaw mape     i utwórz tabliczke mapa1

Odnośnik do komentarza
https://skript.pl/temat/881-limit-wej%C5%9B%C4%87-na-mape/#findComment-6221
Udostępnij na innych stronach

  • 0

 

on rightclick on sign:	line 1 is "mapa1":		teleport player to {ustaw.mapa}		give 1 emerald to player		give 1 diamond to player                command /opusc:	trigger:		kill the player        on respawn:	set player nametag to "%player%"on death:	if victim is player:		if attacker is a player:			set death message to "&7Gracz &8%victim% &7zostal zabity przez gracza &8%attacker%" to "world"			add 10 to attacker's accountcommand /classpvp [<text&gt]	trigger:		if arg 1 is "ustaw":			if arg 2 is "mape":				send "&bUstawiles mape!"				set {ustaw.mape} to location of player			if arg 1 is "ustaw":			if player has permission "teleport":				if arg 2 is "teleport" or "tp":					set {class.pvp} to location of player					send "&bUstawiles teleport!"		if arg 1 is "tp"			send "&2Teleportowales sie"			teleport player to {class.pvp}					command /team [<text&gt] [<text&gt]:	trigger:		if arg 1 is "spawn":			if player has permission "team.spawn":				if arg 2 is "b":					set {spawn.team.b} to location of player					send "&bUstawiles spawn teamu &4B"				if arg 2 is "a":					set {spawn.team.a} to location of player					send "&bUstawiles spawn teamu &1A"				if arg 1 is "dolacz":			if arg 2 is "a":				send "&2Dolaczyles do druzyny &1A"				teleport player to {spawn.team.a}				set player nametag to "&7[&1 A &7]&1"				remove diamond from the player				remove emerald from the player			if arg 2 is "b":				send "&2Dolaczyles do druzyny &4B"				teleport player to {spawn.team.b}				set player nametag to "&7[&4 B &7]&1"				remove diamond from the player				remove emerald from the player#------------------------------------------------------------------------------------------------command /lucznik:	permission: lucznik.classpvp	trigger:		give bow to player		give 64 arrow  to player		give stone sword to player		remove emerald from the player

Weź ustaw teraz spawn komendą /classpvp ustaw mape     i utwórz tabliczke mapa1

Odnośnik do komentarza
https://skript.pl/temat/881-limit-wej%C5%9B%C4%87-na-mape/#findComment-6222
Udostępnij na innych stronach

  • 0

Albo czekaj zamiast tamtego wklej taki kod 

command /ustaw:	trigger:		send "&bUstawiles mape!"		set {ustaw.mape} to location of player		command /tpmapa:	trigger:		teleport player to {ustaw.mape}	

I pierw ustaw a następnie użyj tej komendy /tpmapa jak to będzie działać to jutro ci napisze ten cały skrypt ...

Przepraszam był tu błąd zamiast mape napisałem mapa

 

 

Prosze o połączenie tych 3 postów bo przez przypadek zrobiłem i te 2 @up to przez głupi interner.

Edytowane przez NeXv
Odnośnik do komentarza
https://skript.pl/temat/881-limit-wej%C5%9B%C4%87-na-mape/#findComment-6223
Udostępnij na innych stronach

  • 0

@up

Staram się edytować ale niekiedy wysyła mi to jako normalną wiadomość a jeszcze jak mi laguje neta to mi po 2 naraz wysyła i co ja mam wtedy poradzić?

Odrobi się może kiedyś najważniejsze żeby pomóc. KronossPL i jak próbowałeś tylko te 2 komendy?

command /ustaw:    trigger:        send "&bUstawiles mape!"        set {ustaw.mape} to location of player         command /tpmapa:    trigger:        teleport player to {ustaw.mape} 

?

Edytowane przez NeXv
Odnośnik do komentarza
https://skript.pl/temat/881-limit-wej%C5%9B%C4%87-na-mape/#findComment-6225
Udostępnij na innych stronach

  • 0

 

on rightclick on sign:	line 1 is "mapa1":		teleport player to {ustaw.mapa}		give 1 emerald to player		give 1 diamond to player                command /opusc:	trigger:		kill the player        on respawn:	set player nametag to "%player%"on death:	if victim is player:		if attacker is a player:			set death message to "&7Gracz &8%victim% &7zostal zabity przez gracza &8%attacker%" to "world"			add 10 to attacker's accountcommand /classpvp [<text&gt]	trigger:		if arg 1 is "ustaw":			if arg 2 is "mape":				send "&bUstawiles mape!"				set {ustaw.mape} to location of player			if arg 1 is "ustaw":			if player has permission "teleport":				if arg 2 is "teleport" or "tp":					set {class.pvp} to location of player					send "&bUstawiles teleport!"		if arg 1 is "tp"			send "&2Teleportowales sie"			teleport player to {class.pvp}					command /team [<text&gt] [<text&gt]:	trigger:		if arg 1 is "spawn":			if player has permission "team.spawn":				if arg 2 is "b":					set {spawn.team.b} to location of player					send "&bUstawiles spawn teamu &4B"				if arg 2 is "a":					set {spawn.team.a} to location of player					send "&bUstawiles spawn teamu &1A"				if arg 1 is "dolacz":			if arg 2 is "a":				send "&2Dolaczyles do druzyny &1A"				teleport player to {spawn.team.a}				set player nametag to "&7[&1 A &7]&1"				remove diamond from the player				remove emerald from the player			if arg 2 is "b":				send "&2Dolaczyles do druzyny &4B"				teleport player to {spawn.team.b}				set player nametag to "&7[&4 B &7]&1"				remove diamond from the player				remove emerald from the player#------------------------------------------------------------------------------------------------command /lucznik:	permission: lucznik.classpvp	trigger:		give bow to player		give 64 arrow  to player		give stone sword to player		remove emerald from the player

Weź ustaw teraz spawn komendą /classpvp ustaw mape     i utwórz tabliczke mapa1

wpisalem to i wytabowalem [czy jak to sie tam pisze:D ] jednak jest bląd w 16 ,21,26 

 

 

@up

Staram się edytować ale niekiedy wysyła mi to jako normalną wiadomość a jeszcze jak mi laguje neta to mi po 2 naraz wysyła i co ja mam wtedy poradzić?

Odrobi się może kiedyś najważniejsze żeby pomóc. KronossPL i jak próbowałeś tylko te 2 komendy?

command /ustaw:    trigger:        send "&bUstawiles mape!"        set {ustaw.mape} to location of player         command /tpmapa:    trigger:        teleport player to {ustaw.mape} 

?

Tak dziala 

Edytowane przez KronossPL
Odnośnik do komentarza
https://skript.pl/temat/881-limit-wej%C5%9B%C4%87-na-mape/#findComment-6226
Udostępnij na innych stronach

  • 0

Hahahaha ku**a mac juz wiem gdzie problem :D

command /mapka:	trigger:		set {_mapka1} to location of player		message "Utworzyles mapke!"on rightclick on sign:	line 1 is "mapka1"		teleport player to {_mapka1}
Czemu wczesniej o tym nie pomyslalem ?! ;oo (to przez noc :c)
Odnośnik do komentarza
https://skript.pl/temat/881-limit-wej%C5%9B%C4%87-na-mape/#findComment-6227
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ę...