MasterTobi Posted March 3, 2010 Share Posted March 3, 2010 hey i have a problem in my script, i open files in a folder like: file = xmlLoadFile( "cars/car"..id..".xml") the folder is where the script lie the script lies in MTA/SERVER/MODS/DEATHMATCH/RESOURCE/MYFOLDER and the Folder : MTA/SERVER/MODS/DEATHMATCH/RESOURCE/MYFOLDER/CARS omg so in an another script i have written, lie in myfolder. the Code: file = xmlLoadFile( ../myfoldertwo/Cars/car"..id..".xml") so also the script have to change the folder to find the file ind myfoldertwo, but this does not go. i need a little bit help Link to comment
MasterTobi Posted March 3, 2010 Author Share Posted March 3, 2010 ok i have solved this problem, i have to write file = xmlLoadFile(":myfoldertwo/Cars/car"..id..".xml") but the console say : ModifyOtherObjects in ACL denied resource myfolder to accses myfoldertwo WTF ?! and how i fixxed it ? Link to comment
Buffalo Posted March 3, 2010 Share Posted March 3, 2010 give rights to resource, which modifies foldertwo in acl.xml? <ACL> ... <group name="Admin"> <acl name="Admin"/> ... [color=#FF0000]<object name="resource.yourresource" />[/color] </group> ... </ACL> 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