madsup Posted May 19, 2018 Share Posted May 19, 2018 Hello I can't understand anything about meta.xml can anyone guide me how can i make one and Im 13 years old.(so explain it simply) Link to comment
Addlibs Posted May 19, 2018 Share Posted May 19, 2018 Create a file. Open it in a text editor. Write <meta> <info author="your name" version="1.0" name="friendly name for the resource" description="brief description of the resource" type="script" /> <script src="lua_script.lua" type="client" /> <!-- for client-side scripts --> <script src="lua_script.lua" type="server" /> <!-- for server-side scripts --> </meta> It's as simple as that. There are a lot more things you can add there, all of which can be found on the wiki page for meta.xml. Its a simple XML document - you must make sure all tags are balanced, or closed. So the <meta> tag must have a corresponding </meta> tag at the end. Tags can be self-closing where there is no inner content, such as <script />. Every tag can have attributes, which look as follows: attribute="value", these don't count as inner content so tags with attributes can still be self-closing. It's pretty much that simple. 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