digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 09 Sep 2011 09:41 AM |
| I was wondering, since I am making a GUI that tells you the name of a group the player is in by the ID of the group the player is in, so I need help, please? |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 09 Sep 2011 09:57 AM |
| Cmawn, BAWMP, help please? |
|
|
| Report Abuse |
|
|
XNoBoomX
|
  |
| Joined: 08 May 2011 |
| Total Posts: 4731 |
|
|
| 09 Sep 2011 10:21 AM |
| Could you give a little more of an explanation? |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 09 Sep 2011 10:23 AM |
| What I want to do, is when the mouse is hovering over someone, i want the ID of all the groups that person is in, and show them in textboxes. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 09 Sep 2011 10:32 AM |
Help!!
Hahah err, lm Bawmp in discuise Plzz help? |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
|
| 09 Sep 2011 11:18 AM |
Well only thing I see possible so far in your idea is to get the person's groups. I have a function for that I created myself, however I think it's a bit inefficient.
GetGroups(plr) local groups = {} for i = 1, 1000000000000 do if plr:IsInGroup(i) then table.insert(groups, i) end end end
[If I owned a school, it would be closed by now.] |
|
|
| Report Abuse |
|
|
|
| 09 Sep 2011 11:23 AM |
Forgot something there, add this line before the last end.
return groups
[If I owned a school, it would be closed by now.] |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 09 Sep 2011 01:23 PM |
| So how would you "speed it up", in a way, and also, where would you put a part to make a GUI to show this, becaause I need it for a tool i'm making. |
|
|
| Report Abuse |
|
|
|
| 09 Sep 2011 01:29 PM |
Well I don't know if it's possible to get the names, as far as I know only the IDs, use a for loop with the table to create the GUIs that show the IDs.
[If I owned a school, it would be closed by now.] |
|
|
| Report Abuse |
|
|