Main Page: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
(93 intermediate revisions by 14 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]].


There's 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 on the forums.
<span style="margin-top: 1em; display: block;">[ Stop playing with yourself ]</span>
</div>
</div>


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;">
<div style="float:right; width: 32px;">[[File:Input-gaming.png‎|link=]]</div>
<h3>Play</h3>
<div class="downloadmta" 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 [http://community.mtasa.com/ MTA Community] account to edit this wiki.''' Please register at [http://community.mtasa.com the MTA Community website] 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 stable version of '''Multi Theft Auto: San Andreas Deathmatch''' is '''{{Current Version|full}}'''. Visit the [http://mtasa.com/dp.html download page] and grab it.  You can also grab the nightly [http://nightly.mtasa.com developer builds] for the latest updates.</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]]
 
* [[Script security]] - How to write safe scripts and not be afraid of cheaters
</div>
Forum Links
 
* [https://forum.multitheftauto.com/forum/71-scripting/ Scripting Sub-Forum], [https://forum.multitheftauto.com/forum/123-tutorials/ Scripting Tutorials Sub-Forum]
<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">
* [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>
====Databases====
<h3>General Lua Help</h3>
This section outlines all the LUA capabilites MTA or resources provide.
Pages designed to aid your understanding of Lua
* [[:Category:Resource|Resource Catalogue]] - You must learn these to make proper scripts
*[http://www.lua.org/pil/index.html "Programming in Lua" Manual]
* [[Client side scripts]]
**[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>
<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px;">


====General Lua Help====
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
Pages designed to aid your understanding of LUA
<div style="float:right; width: 32px;">[[File:Preferences-system.png|link=]]</div>
*[http://www.lua.org/pil/index.html "Programming in LUA" Manual]
<h3>Reference</h3>
*[http://lua-users.org/wiki/TutorialDirectory LUA Wiki]
*[http://nixstaller.berlios.de/manual/0.2/nixstaller_9.html A general guide to Lua from Nixstaller]
</div>
 
| width="50%" style="vertical-align:top;" |
<div style="border: 1px dotted #AAAAAA;padding:4px 8px 8px 8px;margin:10px; background:#CCCCFF;">
====Reference====
* [[Client Scripting Functions|Client-side Functions]]
* [[Client Scripting Functions|Client-side Functions]]
* [[Client Scripting Events|Client-side Events]]
* [[Client Scripting Events|Client-side Events]]
* [[Server Scripting Functions|Server-side Functions]]
* [[Server Scripting Functions|Server-side Functions]]
* [[Server Scripting Events|Server-side Events]]
* [[Server Scripting Events|Server-side Events]]
* [[Useful Functions]]
<!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] -->
<!-- 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>
 
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;">
<div style="border: 1px dotted #AAAAAA;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>
====ID Lists====
*[[Animations|Animations]]
*[[Animations|Animations]]
*[[Character Skins]]
*[[Character Skins]]
Line 77: Line 126:
*[[Garage|Garage IDs]]
*[[Garage|Garage IDs]]
*[[Interior IDs]]
*[[Interior IDs]]
*[[Template:Projectiles|Projectiles]]
*[[Material IDs]]
*[[Template:Blip_Icons|Radar Blips]]
*[[Ped voices|Ped Voices]]
*[[Template:Sounds|Sounds]]
*[[Projectiles]]
*[[Radar Blips]]
*[[Sounds]]
*[[Vehicle IDs]]
*[[Vehicle IDs]]
*[[Template:Vehicle_colors|Vehicle Colors]]
*[[Vehicle Colors]]
*[[Vehicle Upgrades]]
*[[Vehicle Upgrades]]
*[[Vehicle variants|Vehicle Variants]]
*[[Vehicle component manipulation]]
*[[Weapons|Weapons]]
*[[Weapons|Weapons]]
*[[Weather]]
*[[Weather]]
</div>
</div>
</div> <!-- right column end -->
</div> <!-- flex container close -->
<!-- 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>


|-
<div style="display: flex; flex-wrap: wrap;>
| colspan="2" |
<div style="margin-right: 5em;">
|}
'''About [[Multi Theft Auto]]''' <br>
[[pl:Main Page]]
[[Archive]] <br>
[[ru:Main Page]]
[[Press Coverage]] <br>
[[it:Pagina principale]]
[https://github.com/multitheftauto/mtasa-blue/graphs/contributors Developers]
[[nl:Main Page]]
</div>
[[de:Hauptseite]]
 
<div style="margin-right: 5em;">
'''Multi Theft Auto 0.5''' <br>
[[Archive#Multi_Theft_Auto_0.5|Download]] <br>
[[MTA 0.5r2 Known Issues|Known Issues]]
</div>
 
<div style="margin-right: 5em;">
'''Wiki Stats''' <br>
{{NUMBEROFARTICLES}} Articles <br>
{{NUMBEROFPAGES}} Pages <br>
{{NUMBEROFUSERS}} Registered Users <br>
</div>
 
<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>
 
</div>
 
 
__NOTOC__
__NOEDITSECTION__
{{Languages list|en}}

Latest revision as of 17:36, 13 October 2024

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