jEErc Posted January 26, 2015 Share Posted January 26, 2015 Hello guys, I have been searching for solution for 2 days now and somehow I didn't find the right answer (thats why I'm now posting here). Sooo, I would like to make the F1 menu (freeroam resource) to work only with Admins (or any group, not for all). Please tell me how to do it or what should I try if you aren't sure it works. Thanks in advance, jEErc Link to comment
Bean666 Posted January 26, 2015 Share Posted January 26, 2015 you'll need this function isObjectInACLGroup Link to comment
jEErc Posted January 26, 2015 Author Share Posted January 26, 2015 you'll need this function isObjectInACLGroup Thank you for your quick reply, but I am a total newb in this whole thing, so could you tell me where should I put that function ? Link to comment
MTA Team botder Posted January 27, 2015 MTA Team Share Posted January 27, 2015 You probably won't understand it as a newbie in scripting, but: Delete that part, which shows/hides the freeroam window clientside and make a command bind serverside to control the permission (isOjbectInACLGroup) there and to send a response to a client to either show or hide the window. Link to comment
jEErc Posted January 27, 2015 Author Share Posted January 27, 2015 I can not get it to work because I'm not even sure how half of this stuff works.. But still thank you alot for instructions. I will just disable the resource untill I get a little better at scripting so I can set it up correctly. (Will post how exactly I did it once i manage to do so) 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