thekoyax123 Posted February 15, 2015 Share Posted February 15, 2015 So I want to start a resource from a script but I keep getting the Access denied @ 'startResource' message. I've searched for this all over and haven't found the answer. Some said that I needed to add into the Admin group of acl but as soon as I add anything to acl it gets removed by itself. Any ideas? Link to comment
Gallardo9944 Posted February 15, 2015 Share Posted February 15, 2015 It gets removed from ACL because you have to stop the server before editing ACL. Or use admin panel to alter your ACL without stopping the server. Link to comment
xeon17 Posted February 15, 2015 Share Posted February 15, 2015 This error is happening because the resource doesn't have the acces to the right 'startResource' , you need to do the following to fix it. 1. Enter in your server and login in your account ( Don't forget , you need to be admin ) 2. Open the admin panel ( key: P ) 3. Open the tab 'Resources' and click on 'MANAGE ACL' on right side 4. Click on a group which have the acces to the right 'startResource' ( Example: Admin or Console ) 5. Click on 'Add object' and type: resource.THE_NAME_OF_YOUR_RESOURCE_WHICH_NEED_THE_ACCES Example: ( resource.webpanel ) If you don't understand me , i would like to recommend you the Acces Control List page on MTA wiki which contain everything what you need to know to solve this problem , https://wiki.multitheftauto.com/wiki/ACL Link to comment
thekoyax123 Posted February 15, 2015 Author Share Posted February 15, 2015 I got this working but now I have another problem. Why isn't the onClientResourceStart event getting triggered when I start one resource from another? Link to comment
xeon17 Posted February 15, 2015 Share Posted February 15, 2015 I didn't understood you so good , could you explain better or post your code. Link to comment
thekoyax123 Posted February 15, 2015 Author Share Posted February 15, 2015 Doesn't matter, I figured out that it's impossible to work the way I want it to. Thanks for the original problem solution anyway Link to comment
Dealman Posted February 15, 2015 Share Posted February 15, 2015 Doubt that it's impossible, if you can tell us what you were trying to do we might have been able to help Link to comment
amir_0120 Posted March 11, 2024 Share Posted March 11, 2024 On 15/02/2015 at 18:33, xeon17 said: This error is happening because the resource doesn't have the acces to the right 'startResource' , you need to do the following to fix it. 1. Enter in your server and login in your account ( Don't forget , you need to be admin ) 2. Open the admin panel ( key: P ) 3. Open the tab 'Resources' and click on 'MANAGE ACL' on right side 4. Click on a group which have the acces to the right 'startResource' ( Example: Admin or Console ) 5. Click on 'Add object' and type: resource.THE_NAME_OF_YOUR_RESOURCE_WHICH_NEED_THE_ACCES Example: ( resource.webpanel ) If you don't understand me , i would like to recommend you the Acces Control List page on MTA wiki which contain everything what you need to know to solve this problem , https://wiki.multitheftauto.com/wiki/ACL thank you But it shows me this error. ``` Error adding object 'resource.THE_NAME_OF_YOUR_RESOURCE_WHICH_NEED_THE_ACCES' to group 'Admin' ``` 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