Skip to content

Latest commit

 

History

History
executable file
·
44 lines (34 loc) · 1.06 KB

README.md

File metadata and controls

executable file
·
44 lines (34 loc) · 1.06 KB

Building

Linux x64

  1. Run commands
cmake . -B build -D CMAKE_BUILD_TYPE=Release
cmake  --build build --config Release
  1. Builded module will be in the ./bin directory

Windows

  1. Run commands
# For x86
cmake -A Win32 . -B build
cmake --build build --config ${{ matrix.build_type }}
# For x64
cmake -A x64 . -B build
cmake --build build --config ${{ matrix.build_type }}
  1. Builded DLL will be in the .\bin directory

Installation

Windows

  • 32 bit: Copy 32 bit ml_package.dll into the MTA San Andreas\server\mods\deathmatch\modules\ directory.
  • 64 bit: Copy 64 bit ml_package.dll into the MTA San Andreas\server\x64\modules\ directory.

Then, add the following line in mtaserver.conf:

  <module src="ml_package.dll" />

GNU/Linux

  • 32 bit: Copy 32 bit ml_package.so into the mods/deathmatch/modules/ directory.
  • 64 bit: Copy 64 bit ml_package.so into the x64/modules/ directory.

Then, add the following line in mtaserver.conf:

  <module src="ml_package.so" />