Pedro001 Posted September 12, 2018 Share Posted September 12, 2018 I have this VIP panel which is really good, but I wanted to make it private, so that only a selected person would be able to view the panel. Currently the panel is shown to anyone who presses the bindkey, but only the ones in the acl group can use the functionalities of the panel. I want it to be shown only for those in this acl group. (I don't know If I am expressing myself correctely (English is not my language )) Anyway, I hope If that's possible, someone can give me a clue on how to do it! Thank you in advance! Link to comment
Dimos7 Posted September 12, 2018 Share Posted September 12, 2018 yes its possible you can make the bind key on serverside and check if player how press it is vip then open it Link to comment
VenomOG Posted September 13, 2018 Share Posted September 13, 2018 addCommandHandler("vip",function(source) if (isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("YOURACL"))) then triggerClientEvent(source,"theclient",source) end end) @Pedro001 Link to comment
Pedro001 Posted September 13, 2018 Author Share Posted September 13, 2018 That will be harder than I thought. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now