Skip to content

Empty module for MTA:SA-Server used for development

License

Notifications You must be signed in to change notification settings

eXo-OpenSource/mtasa-module-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base Module for MTA:SA

Developing

  1. Download and install the EditorConfig plugin for Visual Studio: https://github.com/editorconfig/editorconfig-visualstudio#readme
  2. Launch premake.bat
  3. Open Build/NAME.sln

Debugging

  1. 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"
  2. 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 x64
    • cd PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server\mods\deathmatch\modules for Win32
    • mklink ml_NAME.dll "PATH_TO_REPO\Bin\Debug\ml_NAME.dll"
  3. Press F5 in Visual Studio and the MTA-Server should start

Installing

  1. Put the resulting Bin/ml_NAME.dll/.so into your MTA:SA server modules folder.
  2. Add <module src="ml_NAME.dll"/> (or .so for Linux) to your mtaserver.conf.
  3. Start the server

API

Globals

Functions

Download

via https://github.com/Contextualist/glare

Contributors

  • Jusonex
  • Stefan K.

About

Empty module for MTA:SA-Server used for development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published