Main Page: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Use multitheftauto.com URLs)
 
(140 intermediate revisions by 13 users not shown)
Line 1: Line 1:
__NOTOC__
<div style="display: flex; align-items: center; padding-left: 15px; padding-right: 15px;">
{| width="100%" cellspacing="0" cellpadding="0"
[[File:Mtalogo.png||100px|link=https://wiki.multitheftauto.com/]]
| colspan="2" |
<div style="margin-left: .5em">
<div style="float:left;">This page provides an overview of scripting in MTA.</div>
'''Welcome to the [[Multi Theft Auto]] wiki.''' On this wiki you'll find a wealth of information on using Multi Theft Auto.
<div style="float:right;">[[Image:Scripting.jpg]]</div>
|-
There are many [[How you can help|things you can do to help us]] improve MTA - create a map, a gamemode, help document scripting functions, write example code, write tutorials or just play MTA and report the bugs you find.
| width="50%" style="vertical-align:top;" |
<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">
If you have any questions or problems related to scripting, feel free to get in touch with us on [[Places To Chat#Scripting Help|Discord]].
====Getting started====
 
<span style="margin-top: 1em; display: block;">[ Stop playing with yourself ]</span>
</div>
</div>
 
<div style="display: flex; flex-direction: row; flex-wrap: wrap;">
 
<div style="flex-grow: 1"> <!-- left column start -->
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background: #FFFCF2;">
<div style="float:right; width: 32px;">[[File:Input-gaming.png‎|link=]]</div>
<h3>Play</h3>
<div style="background: #FFEEAA; border: 1px solid #FFCD19;">
[[File:Go-down.png|link=https://multitheftauto.com/]] ''' [https://multitheftauto.com/ Download Multi Theft Auto: San Andreas {{Current Version|full}}]'''</div>
* [[Where to buy GTASA]]
* [[Client Manual]]
<!-- * [[Changes_in_{{padleft:|3|{{Current Version|full}}}}|Changes in {{padleft:|3|{{Current Version|full}}}}]] -->
* [[Changes_in_{{padleft:|5|{{Current Version|full}}}}|Changes in {{padleft:|5|{{Current Version|full}}}}]]
* [[Known_Issues_-_FAQ|Known Issues]]
* [[Server Manual]]
* [[Map manager|Map Manager]]
 
<h3>Map Editor</h3>
*[[Resource:Editor|Manual]]
*[[Resource:Editor/EDF|Editor Definition Format]]
*[[Resource:Editor/Plugins|Plugins]]
*[[Resource:Editor#FAQ|Frequently Asked Questions]]
</div>
 
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
<div style="float:right; width: 32px;">[[File:Package-x-generic.png‎|link=]]</div>
<h3>Databases</h3>
This section outlines all the Lua capabilites MTA or resources provide.
* [[:Category:Resource|Resource Catalogue]] - You must learn these to make proper scripts
* [[Client side scripts]]
* [[Modules]]
</div>
 
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
<div style="float:right; width: 32px;">[[File:Applications-development.png‎‎‎|link=]]</div>
<h3>Developing Multi Theft Auto</h3>
[[File:Go-down.png|link=https://nightly.mtasa.com/]] [https://nightly.mtasa.com/ Nightly builds]
* [[Compiling_MTASA|Compiling MTASA on Windows]]
<!--* [[Building_MTASA_Server_on_Mac_OS_X|Compiling MTASA on Mac OS X]]-->
* [[Building_MTASA_Server_on_GNU_Linux|Compiling MTASA on GNU/Linux]]
* [[Coding guidelines]]
* [https://github.com/multitheftauto/mtasa-blue Main GitHub repository]
* [[Roadmap]]
* [https://github.com/multitheftauto/mtasa-blue/issues Bugtracker]
* [[Branches]]
*[[Forks|Forks and anti cheat]]
</div>
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
<div style="float:right; width: 32px;">[[File:Applications-office.png|link=]]</div>
<h3>Wiki - How can you help</h3>
* Finish documentation for [[:Category:Incomplete|Incomplete functions]].
* [[:Category:Needs_Example |Add examples to functions and events]].
* Review and verify [[:Category:Needs Checking|pages that need checking]].
* Write tutorials to help new people.
* Translate wiki pages.
</div>
 
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
<div style="float:right; width: 32px;">[[File:Internet-group-chat.png‎|link=]]</div>
<h3>Community</h3>
* [https://forum.multitheftauto.com/ Forum]
* Community Discord: [https://discord.com/invite/mtasa Official MTA Discord server] ([https://forum.multitheftauto.com/topic/95008-multi-theft-autos-official-discord-server/ Forum post])
* Development Discord: [https://discord.com/invite/GNN6PRtTnu Server invite link]
* [https://community.multitheftauto.com/ MTA Community] - Share and download resources.
* [https://twitter.com/MTAQA Twitter] - [https://www.youtube.com/user/MTAQA YouTube] - [https://www.facebook.com/multitheftauto Facebook] - [https://www.moddb.com/mods/multi-theft-auto-san-andreas ModDB]
</div>
</div> <!-- left column end -->


* [[Known_Issues_-_FAQ|Known issues in MTASA DM]]
<div style="flex-grow: 1"> <!-- right column start -->
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
<div style="float:right; width: 32px;">[[File:Accessories-text-editor.png|link=]]</div>
<h3>Scripting</h3>
* [[Scripting Introduction|Introduction to Scripting]]
* [[Scripting Introduction|Introduction to Scripting]]
* [[Introduction to Scripting the GUI]]
* [[Debugging|Debugging Tutorial]] - How to find errors in your scripts
* [[Debugging|Debugging Tutorial]] - How to find errors in your scripts
* [[Resources|Introduction to Resources]]
** [[Resource Web Access]] - How you can write websites with resources
** [[CEF_Tutorial|CEF Tutorial]] - How you can use the in-game web browser in your resources
** [[:Category:Resource|Resource Catalogue]]
** [[Meta.xml]] - Behind every resource is a meta file that defines it
** [[ACL]] - Access Control List, this is vital for complex scripts to work
* [[Writing_Gamemodes|Writing Gamemodes]]
Forum Links
* [https://forum.multitheftauto.com/forum/71-scripting/ Scripting Sub-Forum], [https://forum.multitheftauto.com/forum/123-tutorials/ Scripting Tutorials Sub-Forum]
* [https://forum.multitheftauto.com/topic/24702-mtasa-wiki-offline-copies-online-mirrors/ Offline Wiki Copies]
<div style="float:right; width: 32px;">[[File:start-here.png|link=]]</div>
<h3>General Lua Help</h3>
Pages designed to aid your understanding of Lua
*[http://www.lua.org/pil/index.html "Programming in Lua" Manual]
**[http://www.lua.org/manual/5.1/#index Internal Lua functions reference]
*[http://lua-users.org/wiki/TutorialDirectory Lua Wiki]
*[http://nixstaller.sourceforge.net/manual/0.5.1/nixstaller_10.html A general guide to Lua from Nixstaller]
</div>
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background:#F2F2FF;">
<div style="float:right; width: 32px;">[[File:Preferences-system.png|link=]]</div>
<h3>Reference</h3>
* [[Client Scripting Functions|Client-side Functions]]
* [[Client Scripting Events|Client-side Events]]
* [[Server Scripting Functions|Server-side Functions]]
* [[Server Scripting Events|Server-side Events]]
* [[Useful Functions]]
<!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] -->
* [[MTA Classes]] - Detailed descriptions of all MTA custom types
* [[MTA Classes]] - Detailed descriptions of all MTA custom types
** [[Element|MTA Elements]] / [[Element tree]]
** [[Element|MTA Elements]] / [[Element tree]]
* [[Resources]]
** [[Resource Web Access]]
</div>
</div>
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
<div style="float:right; width: 32px;">[[File:System-file-manager.png|link=]]</div>
<h3>[[Id|ID Lists]]</h3>
*[[Animations|Animations]]
*[[Character Skins]]
*[[CJ_Clothes|Clothing styles]]
*[[Garage|Garage IDs]]
*[[Interior IDs]]
*[[Material IDs]]
*[[Ped voices|Ped Voices]]
*[[Projectiles]]
*[[Radar Blips]]
*[[Sounds]]
*[[Vehicle IDs]]
*[[Vehicle Colors]]
*[[Vehicle Upgrades]]
*[[Vehicle variants|Vehicle Variants]]
*[[Vehicle component manipulation]]
*[[Weapons|Weapons]]
*[[Weather]]
</div>
</div> <!-- right column end -->
</div> <!-- flex container close -->


<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">
<!-- Footer -->
<div style="display: flex; flex-wrap: wrap; align-items: center; padding-left: 15px; padding-right: 15px;" class="plainlinks">
<span style="margin-right: 1em;">[[File:MTALogo_8ball.png||85px|link=Archive]]</span>


====Databases====
<div style="display: flex; flex-wrap: wrap;>
This section outlines all the LUA capabilites MTA or resources provide.
<div style="margin-right: 5em;">
* [[Map manager]] - Use this for your gamemodes
'''About [[Multi Theft Auto]]''' <br>
* [[Client side scripts]]
[[Archive]] <br>
[[Press Coverage]] <br>
[https://github.com/multitheftauto/mtasa-blue/graphs/contributors Developers]
</div>
</div>
<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">


====General Lua Help====
<div style="margin-right: 5em;">
Pages designed to aid your understanding of LUA
'''Multi Theft Auto 0.5''' <br>
*[http://www.lua.org/pil/index.html "Programming in LUA" Manual]
[[Archive#Multi_Theft_Auto_0.5|Download]] <br>
*[http://lua-users.org/wiki/TutorialDirectory LUA Wiki]
[[MTA 0.5r2 Known Issues|Known Issues]]
</div>
</div>


| width="50%" style="vertical-align:top;" |
<div style="margin-right: 5em;">
<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">
'''Wiki Stats''' <br>
====Reference====
{{NUMBEROFARTICLES}} Articles <br>
* [[Client Scripting Functions|Client-side Functions]]
{{NUMBEROFPAGES}} Pages <br>
* [[Client Scripting Events|Client-side Events]]
{{NUMBEROFUSERS}} Registered Users <br>
* [[Scripting Functions|Server-side Functions]]
* [[Scripting Events|Server-side Events]]
* [[Module functions|Server-side external module scripting functions list]]
</div>
</div>


<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">
<div>
====ID Lists====
[[File:Osi symbol.png|75px|link=https://opensource.org/|left]]
* [[Character Skins]] ([[All Skins Page]])
'''Multi Theft Auto''' is '''Open Source'''.
* [[CJ Clothes]]
<br/>This means anyone can contribute to making Multi Theft Auto even better!
* [[Template:Projectiles|Projectiles]]
</div>
* [[Template:Blip_Icons|Radar Blips]]
* [[Template:Sounds|Sounds]]
* [http://vces.net/info/CarIDs.html Vehicles]
* [[Vehicle_default_colors|Vehicle Default Coloring Index]]
* [[Template:Vehicle_colors|Vehicle Color Palette]]
* Vehicle Upgrades
* [[Weapons|Weapons]]
* [http://vces.net/info/WeatherIDs.html Weather]
</div>
</div>


|-
</div>
| colspan="2" |




 
__NOTOC__
|}
__NOEDITSECTION__
{{Languages list|en}}

Latest revision as of 20:31, 31 May 2022

Mtalogo.png

Welcome to the Multi Theft Auto wiki. On this wiki you'll find a wealth of information on using Multi Theft Auto.

There are many things you can do to help us improve MTA - create a map, a gamemode, help document scripting functions, write example code, write tutorials or just play MTA and report the bugs you find.

If you have any questions or problems related to scripting, feel free to get in touch with us on Discord.

[ Stop playing with yourself ]

Package-x-generic.png

Databases

This section outlines all the Lua capabilites MTA or resources provide.

Applications-office.png

Wiki - How can you help

Internet-group-chat.png

Community

Accessories-text-editor.png

Scripting

Forum Links

Start-here.png

General Lua Help

Pages designed to aid your understanding of Lua