Main Page: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Use multitheftauto.com URLs)
 
(101 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;">
<div style="float:left;"><div style="float:right;">[[Image:Scripting.jpg]]</div>Welcome to the Multi Theft Auto: San Andreas Deathmatch developer wiki. On this wiki you'll find a wealth of information on developing gamemodes and maps for Multi Theft Auto.
[[File:Mtalogo.png||100px|link=https://wiki.multitheftauto.com/]]
<div style="margin-left: .5em">
'''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 [[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.
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]].


We're making developer previews available because we need your help! There's many [[How you can help|things you can do to help us]] get a finished, polished release of MTA:SA DM out - create a map, a gamemode, help document scripting functions, write example code, write tutorials or just play MTA and report the bugs you find on the forums.
<span style="margin-top: 1em; display: block;">[ Stop playing with yourself ]</span>
</div>
</div>


This release is a Big Thing for us - it's the first release of almost two years of our work and we can't wait to see see what you do with it. Please bear with us as the inevitable issues occur and remember that things aren't quite finished yet!
<div style="display: flex; flex-direction: row; flex-wrap: wrap;">


If you have any questions or problems related to scripting, feel free to get in touch with us on our [[IRC Channel]].
<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]]


'''You need to have an mtabeta.com account to edit this wiki.''' Please register at [http://www.mtabeta.com mtabeta.com] and then use the same username and password to login here. Vandalizing this wiki will get your account banned.
<h3>Map Editor</h3>
*[[Resource:Editor|Manual]]
*[[Resource:Editor/EDF|Editor Definition Format]]
*[[Resource:Editor/Plugins|Plugins]]
*[[Resource:Editor#FAQ|Frequently Asked Questions]]
</div>


The wiki now supports '''[http://gears.google.com/ Google Gears]''', which allows you to view the wiki offline (and fast). Just install Google Gears and click the Go Offline link at the bottom of any page. Be prepared to wait up to an hour(!) as it downloads, it will notify you at the bottom (next to the Go offline link) when it's done. Once you've done that, use your browser's 'Work offline' option (file menu usually), or just disconnect your internet and browse the wiki as normal.
<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: 2px dotted navy; padding: 4px; margin: 10px">Latest available version of '''Multi Theft Auto: San Andreas Deathmatch''' is '''{{Current Version|full}}'''. Visit the [http://www.mtasa.com/dp.html download page] and grab it.</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>
</div> <!-- left column end -->


<div style="clear:both;"></div>
<div style="flex-grow: 1"> <!-- right column start -->
{| width="100%" cellspacing="0" cellpadding="0"
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
| colspan="2" |
<div style="float:right; width: 32px;">[[File:Accessories-text-editor.png|link=]]</div>
 
<h3>Scripting</h3>
|-
| width="50%" style="vertical-align:top;" |
<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">
====Getting started====
 
* [[Deathmatch_Client_Manual|Deathmatch Client Manual]]
* [[Deathmatch_Server_Manual|Deathmatch Server Manual]]
* [[Known_Issues_-_FAQ|Known issues in MTA:SA DM]]
* [[Scripting Introduction|Introduction to Scripting]]
* [[Scripting Introduction|Introduction to Scripting]]
* [[Introduction to Scripting the GUI]]
* [[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
* [[MTA Classes]] - Detailed descriptions of all MTA custom types
** [[Element|MTA Elements]] / [[Element tree]]
* [[Resources|Introduction to Resources]]
* [[Resources|Introduction to Resources]]
** [[Resource Web Access]]
** [[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]]
** [[:Category:Resource|Resource Catalogue]]
** [[Meta.xml]]
** [[Meta.xml]] - Behind every resource is a meta file that defines it
* [[Map_manager|Map Manager]]
** [[ACL]] - Access Control List, this is vital for complex scripts to work
* [[Introduction_to_Scripting_GUI|Scripted GUI]]
* [[Writing_Gamemodes|Writing Gamemodes]]
* [[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
** [[Element|MTA Elements]] / [[Element tree]]
</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>
</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;">
* [[:Category:Resource|Resource Catalogue]] - You must learn these to make proper scripts
'''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; background:#CCCCFF;">
'''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>
* [[Server Scripting Functions|Server-side Functions]]
* [[Server Scripting Events|Server-side Events]]
<!-- Incomplete * [[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>
[[File:Osi symbol.png|75px|link=https://opensource.org/|left]]
'''Multi Theft Auto''' is '''Open Source'''.
<br/>This means anyone can contribute to making Multi Theft Auto even better!
</div>
</div>


====ID Lists====
* [[Character Skins]] ([[All Skins Page]])
* [[CJ Clothes]]
* [[Template:Projectiles|Projectiles]]
* [[Template:Blip_Icons|Radar Blips]]
* [[Template:Sounds|Sounds]]
* [[Vehicle IDs|Vehicles]]
* [[Vehicle_default_colors|Vehicle Default Coloring Index]]
* [[Template:Vehicle_colors|Vehicle Color Palette]]
* [[Vehicle Upgrades]]
* [[Weapons|Weapons]]
* [[Weather|Weather]]
</div>
</div>


|-
 
| colspan="2" |
__NOTOC__
|}
__NOEDITSECTION__
[[pl:Main Page]]
{{Languages list|en}}
[[ru:Main Page]]
[[it:Pagina principale]]
[[nl:Main Page]]

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