generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Can someone point me on the correct path

Previous Thread :: Next Thread 
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
05 Apr 2016 10:28 AM
So I am trying to figure out what I need to do to find out if the player has friends playing the game. Also how I can put the player in the friends game. I dont need the script more of wiki links ect.
Thanks!
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
05 Apr 2016 10:36 AM
http://wiki.roblox.com/index.php?title=API:Class/Player/GetFriendsOnline

http://wiki.roblox.com/index.php?title=API:Class/TeleportService/GetPlayerPlaceInstanceAsync

To make the players join the same server requires Universes; you can't determine what server players join when they click the Play button as far as I know. However, you can direct them to places within your game.
Report Abuse
Sargent179 is not online. Sargent179
Joined: 29 Jul 2011
Total Posts: 358
05 Apr 2016 10:41 AM
eh, no need to have anything for when people click play anyway, Roblox already has a party feature and follow feature to let you get to their server and if you press play it already attempts to put you in the same server as a friend.
Report Abuse
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
05 Apr 2016 10:52 AM
Thanks for the links much appreciated.
Report Abuse
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
05 Apr 2016 11:44 AM
Sorry quick question.
If a player joins a game does the gameId of the friends last location change instant?
Also how would I convert a userId into a username? I was looking it up but couldn't find anything.
Report Abuse
Ortron is not online. Ortron
Joined: 19 Jul 2013
Total Posts: 1297
05 Apr 2016 12:22 PM
http://wiki.roblox.com/index.php?title=API:Class/Players/GetPlayerByUserId
Report Abuse
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
05 Apr 2016 12:40 PM
Doesent that just search "Players" for the certain playerId then return true or false if its found? The only way that would work for my situation is searching all universe games for the id and I have no idea how I would do that.
Is there another way?
Report Abuse
Ortron is not online. Ortron
Joined: 19 Jul 2013
Total Posts: 1297
05 Apr 2016 12:42 PM
Oh you're using universes i thought u mean in a single server
Report Abuse
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
05 Apr 2016 12:59 PM
Yeah,
I am trying to make a join friends menu. It will show a list of friends and the ability to join there server. My problem atm is taking the userId and getting a username out of it.
I have a few idea on how to search servers but there very complex and there is usually a easy way to do it.
Report Abuse
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
05 Apr 2016 01:08 PM
I found it out.
Thanks for the help!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image