#how to teleport certain players to certian cords
1 messages · Page 1 of 1 (latest)
wdym ??
i mean what i say??
with offline players
i dont think that targetplayer is a thing dude, where did you get that from?
my brain
use player
but about targetplayer whit that i mean like i can select any online player
u know how to do that
use player
so just an certain name
dude no syntax in the ENTIRE world has targetplayer
use player
and then try to send it again
yeah and send the script but it will still not work
targetPlayer is not a valid type, you can use [offline ]player and the correct syntax for location is location (x, y, z)
thanks i understand this a bit mroe
if you don't know, [] means its optional
?
where do i put [offline ]player
instead of targetPlayer
where you have the targetplayer
so all target play is gonna be [offline ]player
if you see your code, you will always use a player in the command, so remove [] and use <player>, because you wont be able to teleport an offline player, right?
and instead of targetplayer in the teleport, use argument, since you will be using the player you typed in the command
so:
command /jail [offline]player:
trigger:
teleport player to location 100 200 500
i think you want the changed
the player that you write
ok
like /jail person and the person you write is the one who gets tped