Jump to content

Downloading clientside scripts from the server


Hutchpe

Recommended Posts

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

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
  • Moderators
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...