Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MTA DevKitNew to Visual Studio Code? Get it now.
MTA DevKit

MTA DevKit

Yoel 4devs

|
211 installs
| (1) | Free
Toolkit for Multi Theft Auto scripting in Lua.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚀 MTA DevKit for Visual Studio Code

MTA DevKit is an extension designed to boost productivity for developers creating scripts for Multi Theft Auto: San Andreas (MTA:SA). It enhances the Lua and XML development experience inside Visual Studio Code with contextual autocompletion, function/tooltips, syntax highlighting, and more.


🧩 Features

  • 🔍 Context-aware autocompletion powered by over 902 native MTA functions and all server-side events
  • 📌 Hover tooltips with rich documentation: function descriptions, parameters, return types, source wiki links, and version info
  • 🎨 Custom syntax highlighting with grammar-based styling for native MTA functions and Lua keywords
  • 🧠 Smart event suggestions that appear only inside valid contexts like addEventHandler(...) or addEvent(...)
  • 📂 Meta.xml-aware context detection: Determines script type (client, server, shared) from the meta.xml file
  • 🛠 Full support for both .lua and .xml scripting files

💻 Platform Compatibility

  • Editor: Visual Studio Code
  • Languages: Lua (client/server/shared) and XML
  • OS Support: Windows, Linux, macOS
  • VS Code Version: Requires VS Code 1.70.0 or higher

📂 File Access Notice

🔐 MTA DevKit reads the meta.xml file in your current resource to determine whether each .lua script is marked as:

  • type="client"
  • type="server"
  • type="shared"

This detection allows the extension to:

  • Only suggest functions/events that are valid in the current file context
  • Avoid irrelevant completions (e.g., showing client functions in server files)

✅ This behavior is fully local
❌ No data is collected or sent externally
🛠 Your files are never modified


📸 Preview

Preview

Preview


📦 Installation

  • Search for MTA DevKit in the VS Code Extension Marketplace
  • Or install manually:
    code --install-extension mta-devkit-0.1.0.vsix
    

📚 Data Sources

Some files in data contain public information extracted from the official Multi Theft Auto: San Andreas wiki:
🔗 https://wiki.multitheftauto.com/

These include descriptions, parameters, and return values of native MTA functions and events. This data is used solely to enhance the development experience and is not proprietary.


💬 Join the Community

If you have questions, suggestions or want to contribute, join the Yoel 4Devs Discord:

👉 https://discord.gg/w56aqu2KuW

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft