UAEpro Posted May 31, 2011 Share Posted May 31, 2011 Hi i got a question, and i am looking for the answer ^.^ Can i use in my resource an image in another resource .. like for example i got my clan name ( as image ) i don't want client to re download them because i will use it in 2 resource or maybe more ... so .. can i ? Link to comment
karlis Posted May 31, 2011 Share Posted May 31, 2011 yes, use this path ":resourcename/foldername/filename.filetype" Link to comment
Castillo Posted May 31, 2011 Share Posted May 31, 2011 , I suposed this wasn't possible.. Link to comment
UAEpro Posted May 31, 2011 Author Share Posted May 31, 2011 yes, use this path ":resourcename/foldername/filename.filetype" maybe it wasn't working or i didn't put it right .. Link to comment
karlis Posted May 31, 2011 Share Posted May 31, 2011 note that foldername is optional, if file is in folder, obviously. https://wiki.multitheftauto.com/wiki/Filepath Link to comment
UAEpro Posted May 31, 2011 Author Share Posted May 31, 2011 note that foldername is optional, if file is in folder, obviously.https://wiki.multitheftauto.com/wiki/Filepath but ... where i put this .. in meta or lua ? if in meta .. what i will write in lua .. ? i tried many things but it didn't work Link to comment
karlis Posted May 31, 2011 Share Posted May 31, 2011 in lua, just where you write your usual filepath to load image/audio/dff/txd/col Link to comment
UAEpro Posted May 31, 2011 Author Share Posted May 31, 2011 in lua, just where you write your usual filepath to load image/audio/dff/txd/col worked .. << when i test it before the image was in jpg but i wrote png >.< 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