getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 11 Jun 2012 09:33 AM |
So, ROBLOX created the new :IsInGroup() features, making it possible to typ in a rank in the script (so you don't need any subdivisions).
Problem: How do I exactly use this?
I tried: ...:IsInGroup(1, "Hunk")
Doesn't work. What am I doing wrong? |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2012 09:35 AM |
playerName:IsInGroup(GroupID,"RankName")
GroupID 1 doesn't exist, I don't think. |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 11 Jun 2012 09:36 AM |
| Yeah, I just made an example, I actually used another group. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2012 09:37 AM |
| Wiki and a what I remember shows just what you have, is there some kind of output, or it never runs by? |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 11 Jun 2012 10:10 AM |
| Nope, no output. Wiki doesn't tell me what I need to know. |
|
|
| Report Abuse |
|
|
| |
|
X135
|
  |
| Joined: 20 Aug 2010 |
| Total Posts: 245 |
|
|
| 11 Jun 2012 10:39 AM |
:IsInGroup is added a long time ago, but the rank thing is new.
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2012 12:25 PM |
| Obviously I was talking about the rank thing. -_- |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 20 Jun 2012 02:30 PM |
| Well, on a s1t3 it says ROBLOX completed the update, but I haven't seen it yet; at least it's not working yet. |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2012 02:38 PM |
They did not do this, this has not happened, hasn't been documented anywhere. Just doesn't exist.
‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ›››› |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2012 02:41 PM |
The object browser, implemented in ROBLOX Studio does not say anything about this. Any new features are ALWAYS documented in the browser. This is all that is documented in Player -> IsInGroup (Method) in the browser:
bool IsInGroup(int groupId)
There is only one argument, groupId.
‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ›››› |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2012 03:58 PM |
| Hmmm.... Give me an update on when this feature is in full affect. It will be very useful for the admin commands I am creating. |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2012 04:05 PM |
Try this: playerName:IsInGroup(1,Hunk)
|
|
|
| Report Abuse |
|
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
| |
|
|
| 21 Jun 2012 11:50 AM |
@alex, you obviously didn't read my post. Even if you did, and if that was implemented, that still won't work and will throw an error.
‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ›››› |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 21 Jun 2012 03:34 PM |
| Blargh, I never trust those 5173$ anymore... |
|
|
| Report Abuse |
|
|