.:HyPeX:. Posted April 15, 2015 Share Posted April 15, 2015 Hello, is there any way i could attach some kind of element data to resources ? (Since they're not elemments...) Mainly the idea is to save in the resource some info but i'm not sure. Another way would be some XML info files in the resource's directory, but if it was a compressed one, MTA could still write inside it? Greetz HyPeX Link to comment
MTA Team botder Posted April 15, 2015 MTA Team Share Posted April 15, 2015 setElementData(resourceRoot, "foo", true) Use the resource root element. Link to comment
.:HyPeX:. Posted April 15, 2015 Author Share Posted April 15, 2015 setElementData(resourceRoot, "foo", true) Use the resource root element. Thank You. But how do i obtain it (root of resource) coming from another resource? (I.e. a resource manages the rest for this scenario) Edit: Nevemind. Thanks. 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