Hutchpe Posted July 18, 2013 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
MIKI785 Posted July 18, 2013 Posted July 18, 2013 It gets downloaded automatically if the type is client, no need to do anything else. Lua Scripter Owner of mshost.cz MTA portal.
Hutchpe Posted July 18, 2013 Author 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?
MIKI785 Posted July 18, 2013 Posted July 18, 2013 No, just the musicstream.lua file Lua Scripter Owner of mshost.cz MTA portal.
Moderators IIYAMA Posted July 18, 2013 Moderators 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] Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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