Jamie_Mews Posted January 21, 2011 Share Posted January 21, 2011 Im not sure how can make the whole resource only allowed to be used by the acl group. im trying to add a spike system and im not sure how to make it only used by the police faction. ive looked at a previous thread about this but im not sure, what should i write where Link to comment
Discord Moderators Zango Posted January 21, 2011 Discord Moderators Share Posted January 21, 2011 I think your best shot is to check for ACL group in function Link to comment
Aibo Posted January 21, 2011 Share Posted January 21, 2011 and add function access rights to ACL Link to comment
DakiLLa Posted January 21, 2011 Share Posted January 21, 2011 IsObjectInACLGroup should help you. You can play with the first example.. Link to comment
Jamie_Mews Posted January 22, 2011 Author Share Posted January 22, 2011 what are you on about, the resource is called "cops_system", what line can i put in my acl and where to stop all the civilians "default" using it Link to comment
eAi Posted January 22, 2011 Share Posted January 22, 2011 We suggest not to use isObjectInACLGroup. It's much better to create your own right(s) then use hasObjectPermissionTo. That way, if you share your resource, other servers don't have to name their groups to match your script (or edit your script to match their names). 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