- Download and install the EditorConfig plugin for Visual Studio: https://github.com/editorconfig/editorconfig-visualstudio#readme
- Launch
premake.bat
- Open
Build/NAME.sln
- Create a directory junktion to MTA-Server directory in the root of the repo
mklink /J mta-server "PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server"
- Create a symlink to the build output dll in the modules directory
cd PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server\x64\modules
for x64cd PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server\mods\deathmatch\modules
for Win32mklink ml_NAME.dll "PATH_TO_REPO\Bin\Debug\ml_NAME.dll"
- Press
F5
in Visual Studio and the MTA-Server should start
- Put the resulting
Bin/ml_NAME.dll/.so
into your MTA:SA servermodules
folder. - Add
<module src="ml_NAME.dll"/>
(or.so
for Linux) to yourmtaserver.conf
. - Start the server
via https://github.com/Contextualist/glare
- Jusonex
- Stefan K.