Hutchpe Posted July 18, 2013 Share Posted July 18, 2013 Hey everyone, First off please forgive me if this is in the wrong section. I have been searching for a while and have not been able to find out how a client downloads a client side script from the server. I understand how to make client side scripts and define them in meta.xml file but that's as far as I have got. Could someone please point me in the right direction as to how I can get it to work? Thanks Link to comment
MIKI785 Posted July 18, 2013 Share Posted July 18, 2013 It gets downloaded automatically if the type is client, no need to do anything else. Link to comment
Hutchpe Posted July 18, 2013 Author Share Posted July 18, 2013 So just to make sure I'm doing this right. I have this in my meta.xml file <script src="musicstream.lua" type="client" /> Should the whole 'musicstream' resource folder be downloaded to the mods/deathmatch folder in my MTA directory? Link to comment
MIKI785 Posted July 18, 2013 Share Posted July 18, 2013 No, just the musicstream.lua file Link to comment
Moderators IIYAMA Posted July 18, 2013 Moderators Share Posted July 18, 2013 Should the whole 'musicstream' resource folder be downloaded The main resource folder (musicstream), but also extra folders that contain files that have been written in the meta.xml. mods\deathmatch\resources\musicstream\[data] Link to comment
Hutchpe Posted July 18, 2013 Author Share Posted July 18, 2013 Thank you so much. It all makes sense now 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