on walk on 17:
if block under event-block is sponge:
execute player command "warp tp"
command /warps [<text>] [<text>]:
trigger:
if player has permissions "CubePvP.warps":
if arg 1 is not set:
send "&8[&e+&8] &2/warps create <nazwa>" to player
send "&8[&e+&8] &2/warps remove <nazwa>" to player
send "&8[&e+&8] &2Plugin by &ashelly &2BETA" to player
if arg 1 is "create":
if arg 2 is not set:
send "&8[&e+&8] &2/warp create <nazwa>" to player
else:
if {loc.%arg 2%} is not empty:
send "&8[&e+&8] &2Warp &a%arg 2% &2juz istnieje!" to player
stop
else:
send "&8[&e+&8] &2Stworzyles warp o nazwie: &a%arg 2% &2 na kordach: &a%location of player% &2aby go usunac /warp remove %arg 2%" to player
set {loc.%arg 2%} to location of player
add arg 2 to {warps: :*}
if arg 1 is "remove":
if {loc.%arg 2%} is not set:
send "&8[&e+&8] &2Warp o nazwie &a%arg 2% &2nie istnieje!" to player
else:
send "&8[&e+&8] &2Usuneles warp o nazwie &a%arg 2% &2!" to player
delete {loc.%arg 1%}
delete {warps::%arg 2%}
else:
send "&8[&e+&8] &2Nie masz dostepu (&aCubePvP.warps&2)" to player
command /warp [<text>]:
trigger:
if player has permissions "CubePvP.warp":
if arg 1 is not set:
send "&8[&e+&8] &2Dostepne warpy: &a%{warps: :*}% &2BETA" to player
else:
if {loccc.%arg 1%} is set:
send "&8[&e+&8] &2Teleportacja trwa!" to player
teleport the player to {loccc.%arg 1%}
else:
send "&8[&e+&8] &2Taki warp nie istnieje!" to player
else:
send "&8[&e+&8] &2Nie masz dostepu (&aCubePvP.warp&2)" to player
Pytanie
MrFretko 2
Pomocy nie usuwa warpa
oraz nie usuwa go z /warp
on walk on 17:
if block under event-block is sponge:
execute player command "warp tp"
command /warps [<text>] [<text>]:
trigger:
if player has permissions "CubePvP.warps":
if arg 1 is not set:
send "&8[&e+&8] &2/warps create <nazwa>" to player
send "&8[&e+&8] &2/warps remove <nazwa>" to player
send "&8[&e+&8] &2Plugin by &ashelly &2BETA" to player
if arg 1 is "create":
if arg 2 is not set:
send "&8[&e+&8] &2/warp create <nazwa>" to player
else:
if {loc.%arg 2%} is not empty:
send "&8[&e+&8] &2Warp &a%arg 2% &2juz istnieje!" to player
stop
else:
send "&8[&e+&8] &2Stworzyles warp o nazwie: &a%arg 2% &2 na kordach: &a%location of player% &2aby go usunac /warp remove %arg 2%" to player
set {loc.%arg 2%} to location of player
add arg 2 to {warps: :*}
if arg 1 is "remove":
if {loc.%arg 2%} is not set:
send "&8[&e+&8] &2Warp o nazwie &a%arg 2% &2nie istnieje!" to player
else:
send "&8[&e+&8] &2Usuneles warp o nazwie &a%arg 2% &2!" to player
delete {loc.%arg 1%}
delete {warps::%arg 2%}
else:
send "&8[&e+&8] &2Nie masz dostepu (&aCubePvP.warps&2)" to player
command /warp [<text>]:
trigger:
if player has permissions "CubePvP.warp":
if arg 1 is not set:
send "&8[&e+&8] &2Dostepne warpy: &a%{warps: :*}% &2BETA" to player
else:
if {loccc.%arg 1%} is set:
send "&8[&e+&8] &2Teleportacja trwa!" to player
teleport the player to {loccc.%arg 1%}
else:
send "&8[&e+&8] &2Taki warp nie istnieje!" to player
else:
send "&8[&e+&8] &2Nie masz dostepu (&aCubePvP.warp&2)" to player
Odnośnik do komentarza
https://skript.pl/temat/4769-pomocy-warpy-nie-dzialaja/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi