najpierw wkleje fragment skryptu i zaraz wytlumacze o co chodzi
if {team.gracz.%player%} is not set:
if arg 2 is set:
if arg 2 is "red" or "czerwony":
teleport player to {arena.arena.red}
set {team.gracz.%player%} to "red"
loop all items in player's inventory:
add loop-item to {arena::eq::%{_nick}%::*}
send "&aPomyslnie zapisano ekwipunek"
clear the player's inventory
equip player with all Leather armour named "&4&lDruzyna Red"
dye player's helmet red
dye player's chestplate red
dye player's leggings red
dye player's boots red
enchant the player's boots with protection 5 and Unbreaking 10
enchant the player's leggings with protection 5 and Unbreaking 10
enchant the player's chestplate with protection 5 and Unbreaking 10
enchant the player's helmet with protection 5 and Unbreaking 10
give player diamond sword
set spawn of player to {arena.arena.red} <---------
stop
chodzi mi o fragment zaznaczony strzelka, chce, aby po zabiciu gracza, nie wstawal w innym swiecie, tylko tu gdzie go tepnelo, dodam tez, ze to jest taki jakby "podtryb" dla rozrywki, a druzyny sa 4 [niebiescy,czeroni,zieloni i zolci] wiec gdy gracz wybierze swoja druzyne [np czerwona] chcę aby sie spawnowal po padnieciu, na pozycji {arena.arena.red} mam nadzieje ze zrozumicie o co mi chodzi, w razie pytan, jestem caly czas aktywny.
dodam takze ze normalny spawn znajduje sie na innym swiecie
Pytanie
hwdp789 11
najpierw wkleje fragment skryptu i zaraz wytlumacze o co chodzi
if {team.gracz.%player%} is not set:
if arg 2 is set:
if arg 2 is "red" or "czerwony":
teleport player to {arena.arena.red}
set {team.gracz.%player%} to "red"
loop all items in player's inventory:
add loop-item to {arena::eq::%{_nick}%::*}
send "&aPomyslnie zapisano ekwipunek"
clear the player's inventory
equip player with all Leather armour named "&4&lDruzyna Red"
dye player's helmet red
dye player's chestplate red
dye player's leggings red
dye player's boots red
enchant the player's boots with protection 5 and Unbreaking 10
enchant the player's leggings with protection 5 and Unbreaking 10
enchant the player's chestplate with protection 5 and Unbreaking 10
enchant the player's helmet with protection 5 and Unbreaking 10
give player diamond sword
set spawn of player to {arena.arena.red} <---------
stop
chodzi mi o fragment zaznaczony strzelka, chce, aby po zabiciu gracza, nie wstawal w innym swiecie, tylko tu gdzie go tepnelo, dodam tez, ze to jest taki jakby "podtryb" dla rozrywki, a druzyny sa 4 [niebiescy,czeroni,zieloni i zolci] wiec gdy gracz wybierze swoja druzyne [np czerwona] chcę aby sie spawnowal po padnieciu, na pozycji {arena.arena.red} mam nadzieje ze zrozumicie o co mi chodzi, w razie pytan, jestem caly czas aktywny.
dodam takze ze normalny spawn znajduje sie na innym swiecie
albo naprawcie mi caly skrypt, bo cos popsulem XD
https://code.skript.pl/GqCmWmIg/
Odnośnik do komentarza
https://skript.pl/temat/20349-oddzielny-spawn/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi