Narzędzie★ 1zaktualizowano lip 2025MPL-2.0C++
Otwórz na GitHubieREADME.md
GameMode (open.mp)
Template gamemode c++ bolt using open.mp-gdk and open.mp-sdk
Usage
Just drop release server.dll or libserver.so (depending on your operating system) in Components folder, and run your open.mp server.
Required Tools
- CMake 3.19+
- Visual Studio 2019+ (on Windows)
- Clang (on Linux)
Building on Windows
mkdir build
cd build
cmake .. -A Win32 -T ClangCL
Open Visual Studio and build the solution.
Building on Linux
mkdir build
cd build
# May need to configure this line.
export CC=/usr/lib/llvm/18/bin/clang CXX=/usr/lib/llvm/18/bin/clang++
cmake .. -G Ninja -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_BUILD_TYPE=Debug
cmake --build . --config Debug
Change Debug to Release for final versions.
Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem