You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The meta.xml file presents MTA with a set of metadata, such as the resource's name, the scripts to include, and which files to precache for sending to clients among other things.
14
-
It is also the scope of "elements". It is written in XML, which is based on HTML and is the parent of XHTML.</p>
13
+
It is also the scope of "elements". It is written in XML, which is based on HTML and is the parent of XHTML.</p><br/>
15
14
16
15
<divid="tags">
17
-
<h4>Tags</h4>
16
+
<h3>Tags</h3>
18
17
<p>XML is a textual data format which is widely used for the representation of data. MTA uses an XML-based language to describe the metadata for resources by using the tags below:</p>
19
18
<ul>
20
19
<li><strong><info/></strong> Information about this resource, possible parameters include (any arbitrary parameters can be used and read using <ahref="/reference/getResourceInfo">getResourceInfo</a>).</li>
@@ -122,8 +121,9 @@ It is also the scope of "elements". It is written in XML, which is based on HTML
122
121
</ul>
123
122
</div>
124
123
124
+
<br/>
125
125
<divid="Example">
126
-
<h4>Examples</h4>
126
+
<h3>Examples</h3>
127
127
<p>Quick start template:</p>
128
128
<Codecode={`<meta>
129
129
<script src="server.lua" type="server" />
@@ -212,8 +212,9 @@ It is also the scope of "elements". It is written in XML, which is based on HTML
212
212
</meta>`}lang="xml"/>
213
213
</div>
214
214
215
+
<br/>
215
216
<divid="glob-example">
216
-
<h4>Loading files via glob pattern</h4>
217
+
<h3>Loading files via glob pattern</h3>
217
218
<p>Since version <strong>1.6.0 r22430</strong> and above, you can conveniently load files into your resources using <ahref="https://en.wikipedia.org/wiki/Glob%20(programming)">glob library</a> - see <ahref="https://github.com/p-ranav/glob">more details</a>.</p>
0 commit comments