Witam, mam kawałek kodu, i da się żeby zmienne były całą liczbą a nie z przecinkiem ??
kod:
set {Coordinate::X::Of::%player%} to x-location of player
set {Coordinate::y::Of::%player%} to y-location of player
set {Coordinate::Z::Of::%player%} to z-location of player
add -20 to {Coordinate::X::Of::%player%}
add -20 to {Coordinate::Z::Of::%player%}
run player command "mv tp s2" as op
execute console command "tppos %player% %{Coordinate::X::Of::%player%}% %{Coordinate::y::Of::%player%}% %{Coordinate::Z::Of::%player%}%"
Pytanie
Szybki_Johny 2
Witam, mam kawałek kodu, i da się żeby zmienne były całą liczbą a nie z przecinkiem ??
kod:
set {Coordinate::X::Of::%player%} to x-location of player set {Coordinate::y::Of::%player%} to y-location of player set {Coordinate::Z::Of::%player%} to z-location of player add -20 to {Coordinate::X::Of::%player%} add -20 to {Coordinate::Z::Of::%player%} run player command "mv tp s2" as op execute console command "tppos %player% %{Coordinate::X::Of::%player%}% %{Coordinate::y::Of::%player%}% %{Coordinate::Z::Of::%player%}%"Odnośnik do komentarza
https://skript.pl/temat/25286-fake-sektory/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi