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 » Scripting Helpers
Home Search
 

Re: Group Ranks

Previous Thread :: Next Thread 
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
22 Oct 2012 09:31 PM
Did roblox add the command like to check a player's group rank? If they did then whats the command?
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
22 Oct 2012 09:33 PM
http://wiki.roblox.com/index.php/GetRankInGroup_(Method)
http://wiki.roblox.com/index.php/GetRoleInGroup_(Method)
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
22 Oct 2012 09:38 PM
You want...

Player:GetRoleInGroup(GroupId)
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
22 Oct 2012 10:23 PM
:D Thanks a lot guys
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
22 Oct 2012 10:30 PM
Oh wait but I'm going to use this for admin commands so is there anyway to make shure that they are a special rank? example:

if game.Players.Player:GetRoleInGroup(groupId)== "Leader" then


I know that probably doesn't work but that's just an example of what I need
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
22 Oct 2012 11:06 PM
GetRoleInGroup returns the rank id. Like the leader would be 255 and everyone else would be lower.
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
22 Oct 2012 11:48 PM
Ok how do I know which number is which rank?
Report Abuse
leolion113 is not online. leolion113
Joined: 11 Oct 2008
Total Posts: 3336
23 Oct 2012 12:28 AM
...

Group Admin -> Scroll Down -> Rank (0-255)
Report Abuse
SourceLeak is not online. SourceLeak
Joined: 10 Jun 2012
Total Posts: 841
23 Oct 2012 07:56 AM
GetRoleInGroup returns the name, GetRankInGroup returns the Id. At least according to the wiki.
Report Abuse
ThunderThrash is not online. ThunderThrash
Joined: 05 Apr 2011
Total Posts: 2576
23 Oct 2012 09:07 AM
@Spynaz, you hope one day your war group becomes big but you can't even find the basics of the group?
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
23 Oct 2012 09:43 AM
Ok then is this what I would do?

local player = game.Players.Player
if player:GetRoleInGroup(groupId) == 255 then
Report Abuse
SourceLeak is not online. SourceLeak
Joined: 10 Jun 2012
Total Posts: 841
23 Oct 2012 09:45 AM
No, that would be GetRankInGroup()
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
23 Oct 2012 09:45 AM
We are already pretty big, and I am the leader but I'm not the owner because since I'm not BC yet, my friend owns the group.
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
23 Oct 2012 09:47 AM
Oh lol it already says that in the wiki on the GetRankInGroup method, thanks!
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
23 Oct 2012 09:49 AM
Is it possible to change somebody's rank like ChangeRankInGroup(groupID)?
Report Abuse
SourceLeak is not online. SourceLeak
Joined: 10 Jun 2012
Total Posts: 841
23 Oct 2012 09:51 AM
No, that would be too much of an exploit risk. No way would they allow it without unimaginable security precautions.
Report Abuse
spynaz is online. spynaz
Joined: 17 Feb 2011
Total Posts: 1326
23 Oct 2012 09:54 AM
Oh ok then
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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