Results 1 to 3 of 3
07-08-2011, 05:50 PM #1
[SC7E52] Black Ops Dir Permissions
Ok, so those of you who use trentlio's mod menus already know that people can only use functions if they have the right access. This simply takes it a step further, what it does is only allows people who have the proper access to view what is inside specific dirs. for instance, VIP users will not be able to look in the host dir, etc.
I did this because im tired of people looking at my unfinished options and bugging me to use them, also it will cut down on the menu traffic, helping prevent lag/freezes. Also i dont like people lookin at shit they dont need to be lookin at :D
You can simply replace your currect monitorUseButton with this one. (read note at the bottom of this post)
NOTE: This is only for trentlios v3.x framework, it will not work with Nity's or earlier versions of trents.
Last edited by riZe; 07-08-2011 at 05:52 PM.
07-08-2011, 05:51 PM #2
- Join Date
- Jun 2011
ahh...thank you for this... nice job
07-08-2011, 05:59 PM #3
No prob, and if you're wondering, for folders you dont want permissions on just leave out the perm value, but for those you want perms on, obviously you have to set a perm value.
self defineOption( "Main Menu", "Host", 1, "folder", 2 ); <-- only users absolute value >= 2 can access
self defineOption( "Main Menu", "VIP", 2, "folder" ); <-- anyone can access