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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|