.:HyPeX:. Posted April 15, 2015 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 My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
MTA Team botder Posted April 15, 2015 MTA Team Posted April 15, 2015 setElementData(resourceRoot, "foo", true) Use the resource root element. GitHub: Debug Console • MTA-Discord Relay Scripting: How to draw a line chart with DirectX functions? • Doppler Effect in MTA • Get the client's FPS • Customizable Blur Shader
.:HyPeX:. Posted April 15, 2015 Author 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. My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
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