tim260 Posted October 27, 2011 Posted October 27, 2011 i am using this resource : https://community.multitheftauto.com/index.php?p= ... ls&id=1152 and im wondering how to restrict a class by getting acl group, or if its possible then. Can someone help me
Castillo Posted October 27, 2011 Posted October 27, 2011 Of course that it's possible, but you'll need to edit the script to do this. I suggest you to learn about ACL functions in the wiki: https://wiki.multitheftauto.com/wiki/Ser ... _functions
tim260 Posted October 27, 2011 Author Posted October 27, 2011 Of course that it's possible, but you'll need to edit the script to do this.I suggest you to learn about ACL functions in the wiki: https://wiki.multitheftauto.com/wiki/Ser ... _functions yeah i know i think to use this isObjectInACLGroup but im a noob scripter just started learning and dont know wich file to edit EDIT: there are many files in that zip in my eyes nothing makes sense yk, so if aynbody could help me
arezu Posted October 28, 2011 Posted October 28, 2011 Look at the examples on that page. They are clear enough.
tim260 Posted October 28, 2011 Author Posted October 28, 2011 Not for this resource though EDIT: look at it for yourself would you manage that if you've never scripted a whole script before ?
Castillo Posted October 28, 2011 Posted October 28, 2011 It's pretty easy actually, I've done it for one of my clients, you should add a new value called 'acl' then on s_main.lua you check if the spawn is public or not, if not then you check the ACL name.
tim260 Posted October 28, 2011 Author Posted October 28, 2011 Im going to give up i cant figure it out, its to hard for me for you its easy thought not for me but thanks
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