Witam.
Mam skrypt na grupowetp ( z internetu nie swoj )
options:
world: Easyhc # Ustaw tu owiat
x-max: 1950 # Maxymalne kordy x
x-min: -1950 # Minimalne kordy x
z-max: 1950 # Maxymlane kordy z
z-min: -1950 # Minimalne kordy z
on rightclick on button:
if block west or south or east or north clicked block is note block:
set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
while block under {_loc} is air or lava:
remove 1 from y-coords of {_loc}
block under {_loc} is lava:
set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
loop players in radius 2 around block behind block:
teleport loop-player to {_loc}
teleport player to {_loc}
Nie wywala zadnych bledow tylko czasem nie teleportuje 2 graczy - tepa poprostu tak jakby bylo to losowetp a nie grupowetp
I nie rozumiem czemu
Pytanie
Patsor1 0
Witam.
Mam skrypt na grupowetp ( z internetu nie swoj )
options: world: Easyhc # Ustaw tu owiat x-max: 1950 # Maxymalne kordy x x-min: -1950 # Minimalne kordy x z-max: 1950 # Maxymlane kordy z z-min: -1950 # Minimalne kordy z on rightclick on button: if block west or south or east or north clicked block is note block: set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}" while block under {_loc} is air or lava: remove 1 from y-coords of {_loc} block under {_loc} is lava: set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}" loop players in radius 2 around block behind block: teleport loop-player to {_loc} teleport player to {_loc}
Edytowane przez xAxeeNie wywala zadnych bledow tylko czasem nie teleportuje 2 graczy - tepa poprostu tak jakby bylo to losowetp a nie grupowetp
I nie rozumiem czemu
Następnym razem wklej kod na code.skript.pl
Notatka dodana przez ShroN
Wstawiam w code
Notatka dodana przez xAxee
Odnośnik do komentarza
https://skript.pl/temat/41140-problem-z-grupowymtp/Udostępnij na innych stronach
8 odpowiedzi na to pytanie
Rekomendowane odpowiedzi