MTA Helper is a Visual Studio Code extension designed to streamline the workflow for Multi Theft Auto: San Andreas (MTA: SA) scripting. With easy commands and automation, it helps developers quickly set up and manage their MTA resources by creating essential files, generating meta.xml, and scanning directories for a structured setup.
Features
Quick File Generation: Easily create client.lua, server.lua, shared.lua, utils.lua files with sample code to kickstart your project.
Optional Zoom Functionality in client.lua: Provides an option to include zoom code for adaptable screen scaling in client.lua.
Automatic meta.xml Creation: Generate a meta.xml file automatically based on selected files, with correct tagging for each type.
Directory Scanning: Scans a selected folder (including subdirectories) and generates meta.xml based on existing .lua scripts and other files.
Support for Various File Types: Detects Lua scripts and adds <script> tags, while non-Lua files are included with <file src="..." /> in meta.xml.
Getting Started
Prerequisites
Visual Studio Code (version 1.95.0 or higher)
Node.js installed for development if you want to modify or contribute to the extension