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: [Q] Returning all groups that a player is in

Previous Thread :: Next Thread 
igunaa is not online. igunaa
Joined: 15 Sep 2010
Total Posts: 2588
23 Apr 2016 07:25 PM
Is there a Service that returns that or I`d have to make a loop?
New to group stuff.

Said the wise.
Report Abuse
igunaa is not online. igunaa
Joined: 15 Sep 2010
Total Posts: 2588
23 Apr 2016 07:35 PM
Bump, can I return it in a table? GetGroupInfoAsync returns all info from a group in tables, isn`t there a function that will do just the same, but for a player?

Said the wise.
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
23 Apr 2016 07:42 PM
You'd have to try and find a custom PHP API that can do that, or create one that can. Bear in mind that this requires setting up a web-server and then interfacing with it via HttpService. However an alternative is, if it's specific groups you are looking for, you can check if a client is in them by using the :IsInGroup() method.




Report Abuse
igunaa is not online. igunaa
Joined: 15 Sep 2010
Total Posts: 2588
23 Apr 2016 07:47 PM
Thanks for the reply, I was looking foward to make a search bar that would display the group(s) that the player is in as he types the group name. In that case IsInGroup wouldn`t help, I`ll take a look at PHP then, thanks.

Said the wise.
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
23 Apr 2016 07:55 PM
What are you talking about lmao, there is a way to do it. Send to a proxy.

http://api.roblox.com/docs#Groups
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
23 Apr 2016 08:01 PM
As per what I said, find an API that does it, or create one that can.


Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
23 Apr 2016 08:05 PM
If you look up proxy on the wiki it'd give you a link.
http://wiki.roblox.com/index.php?title=User-created_web_APIs

theproxydomain/subproxy/api/users/10274177/groups is what
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
23 Apr 2016 08:06 PM
What are you guys on about.
http://wiki.roblox.com/index.php?title=API:Class/GroupService/GetGroupsAsync
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
23 Apr 2016 08:06 PM
Are you guys just trolling him... orr??

local groups = game:GetService("GroupService"):GetGroupsAsync(plr.UserId);


Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
23 Apr 2016 08:08 PM
Hahaha XDD


Report Abuse
igunaa is not online. igunaa
Joined: 15 Sep 2010
Total Posts: 2588
23 Apr 2016 08:09 PM
Thanks Soy, I knew there was a method for this. And they were kinda trolling, tho I get a bit more knowlage about roblox API`s etc, so not bad at all.

Said the wise.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
23 Apr 2016 08:19 PM
<3

...though, the easiest thing to do is to vaguely tell someone to set up their own 'web-server', and to give really obscure directions, like 'interface with it via HttpService' XD

I dunno know how much you can pull from that


Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
23 Apr 2016 08:21 PM
Those instructions aren't vague, I assume he's competent and understands what the word interface means. However I kid you not, I was totally unaware of that method until now. So, yeah. :P


Report Abuse
igunaa is not online. igunaa
Joined: 15 Sep 2010
Total Posts: 2588
23 Apr 2016 08:21 PM
If that was the only way I`d put some good use to my educational github xD

Said the wise.
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