Thread: [Tutorial] Random questions thread
View Single Post
Old 04-11-2012, 07:43 PM   #110   Add To Ignore List  
Mischievous's Avatar
Joined: Aug 2009
Location: I'm a gamer, so in a metaphysical way,no where.
Mischievous is offline
Default Re: Random questions thread

That's because you're getting a table of players. You need to identify a Single player from that table, in order to teleport him.

First GetAllPlayersInRange() in a table, and then extract one player from that table and teleport him.
All you need to do really is add One more line of code after the GetAllPlayersInRange() line and change your variable names a bit and it will work.

You can try to google for "Lua Tables".

That's hint N2. If you two give up, I will give you the code to teleport a player.
Secretly Blue
Mass Effect 3, It's kind of as if you had to pay extra to see Golum in the LOTR series.
Louva-Deus:"You were born with a longer tail that the rest of us"

Last edited by Mischievous; 04-11-2012 at 07:47 PM.
  Reply With Quote