You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I am making a big project so I might have lots of topics.
What is the issue? Include screenshots / videos if possible!
I want to know how to make an admin panel only for specific users
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have not tried anything.
1 Like
Maybe try something then come back when you have a question on how to do that thing.
Google Search, Youtube, and the Dev-Forum have the ability to search for content you are looking for.
Here is a head start:
lxgh1lxy
(lxgh1lxy)
March 28, 2021, 10:31pm
#3
you can use Player.GetRankInGroup() to see if a user is above a certain group rank. if they are, you can set the visible setting of the admin gui to true
1 Like
this helped a lot tysm!!!
if player:GetRankInGroup(idhere) >= rankvalue then
Adding on to this - make sure you secure your admin remotes on the server, because exploiters can control anything on the client.
1 Like
can the function :GetRankInGroup really secure this from exploiters?
Xacima
(Yui)
April 2, 2021, 12:50am
#7
What he meant was that you should do your checks on the server-side, not the client.
Never trust the client, as anyone has access to execute anything they want on their client.
More information can be found here .
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have not tried anything.
You should at least try to search for a solution before asking for help next time.