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: Check Player Properties (REWORDED)

Previous Thread :: Next Thread 
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
02 Jul 2014 06:42 PM
Some confusion in my past post about this topic.

So, I asked for a way to check if a player is a roblox admin. I meant "is there a way to check if the player has the admin badge?"

As a scripter, I look for simpler ways to do things. Therefore, I was looking for a way to check if a player had the admin badge, instead of making a table with the names of the admins.

At first, I thought MembershipType would work, but there is no Enum for Roblox Admins. So, I was wondering if there was another way.
Report Abuse
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
08 Jul 2014 09:19 PM
Poke
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
08 Jul 2014 09:19 PM
Try using PlayerOwnsAsset and getting the ID of the admin badge.
Report Abuse
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
08 Jul 2014 09:20 PM
Yes, but whats the ID?
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
08 Jul 2014 09:20 PM
Go to the page of any admin go into their badges, and click it, then look at the URL to find the ID.
Report Abuse
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
08 Jul 2014 09:21 PM
There is no URL for the badge
Report Abuse
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
08 Jul 2014 09:22 PM
URL/ID, whatever.
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
08 Jul 2014 09:24 PM
Ah, true. Not sure then hinestly.
Report Abuse
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
08 Jul 2014 09:55 PM
bummer
Report Abuse
ash877 is not online. ash877
Joined: 18 Feb 2008
Total Posts: 5142
08 Jul 2014 10:01 PM
I don't think that's something you can do at all, if ever. Just make a table -.-
Report Abuse
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
08 Jul 2014 10:04 PM
But I'm too lazy to :o






Nah, jk.

I did that, I'm just looking for a more efficient way of checking if a player is an admin.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
08 Jul 2014 10:41 PM
https://github.com/RobloxLabs/internal-code/blob/master/core-scripts/PlayerList-48488235.lua

This is the PlayerList core script source. It has a table of all admins.
Report Abuse
SilverArgentum is not online. SilverArgentum
Joined: 01 Nov 2011
Total Posts: 1162
08 Jul 2014 11:09 PM
Is there a simpler way than inserting every single roblox admin's name?
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
08 Jul 2014 11:54 PM
If ROBLOX had to make a table, there probably isn't. Just use the table I have you.
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