UAEpro Posted May 31, 2011 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 ?
karlis Posted May 31, 2011 Posted May 31, 2011 yes, use this path ":resourcename/foldername/filename.filetype"
UAEpro Posted May 31, 2011 Author Posted May 31, 2011 yes, use this path ":resourcename/foldername/filename.filetype" maybe it wasn't working or i didn't put it right ..
karlis Posted May 31, 2011 Posted May 31, 2011 note that foldername is optional, if file is in folder, obviously. https://wiki.multitheftauto.com/wiki/Filepath
UAEpro Posted May 31, 2011 Author 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
karlis Posted May 31, 2011 Posted May 31, 2011 in lua, just where you write your usual filepath to load image/audio/dff/txd/col
UAEpro Posted May 31, 2011 Author 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 >.<
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