- 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\modulesfor x64cd PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server\mods\deathmatch\modulesfor Win32mklink ml_NAME.dll "PATH_TO_REPO\Bin\Debug\ml_NAME.dll"
- Press
F5in Visual Studio and the MTA-Server should start
- Put the resulting
Bin/ml_NAME.dll/.sointo your MTA:SA servermodulesfolder. - Add
<module src="ml_NAME.dll"/>(or.sofor Linux) to yourmtaserver.conf. - Start the server
via https://github.com/Contextualist/glare
- Jusonex
- Stefan K.