menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Check if admin
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Check if admin
TooKawaiiForSenpai
Join Date: 2009-03-03
Post Count: 3241
#63644298
Thursday, March 01, 2012 3:02 AM GMT
From what I read in the blog post, there's a way to check if a player is an admin in a personal server. What is the method?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
micol2242
Join Date: 2010-11-13
Post Count: 4732
#63644443
Thursday, March 01, 2012 3:04 AM GMT
:HasBuildPermissions()
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
nate890
Join Date: 2008-11-22
Post Count: 21686
#63644480
Thursday, March 01, 2012 3:05 AM GMT
HasBuildPermission(role) Assuming role is admin then it should work. "Bro five! Wear this to let everyone know you think they deserve a high five."
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
micol2242
Join Date: 2010-11-13
Post Count: 4732
#63644545
Thursday, March 01, 2012 3:06 AM GMT
Actually, I was told HasBuildPermission() was in there before Personal Build Servers odd what
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
TooKawaiiForSenpai
Join Date: 2009-03-03
Post Count: 3241
#63644609
Thursday, March 01, 2012 3:07 AM GMT
:HasBuildPermission("Admin") Like that?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
grimm343
Join Date: 2008-09-18
Post Count: 2796
#63658832
Thursday, March 01, 2012 3:51 PM GMT
http://wiki.roblox.com/index.php/HasBuildPermission_(Method)
It's a method that you use on a Player, using an enumeration to see if that Player has permission to do what the enumeration is.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right