samp.directory
← Skrypty i biblioteki

Sreyas-Sreelal/omprs

Write open.mp gamemode in Rust

Plugin★ 17zaktualizowano wrz 2024Apache-2.0C++
Otwórz na GitHubie
Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

README.md

omprs

Component for open.mp to load gamemodes written in Rust.

Tools

Tools on Windows

Visual Studio needs the Desktop development with C++ workload with the C++ Clang tools for Windows component.

Building on Windows

git clone --recursive https://github.com/Sreyas-Sreelal/omprs
cd omprs
mkdir build
cd build
cmake .. -A Win32 -T ClangCL
cmake --build . --config RelWithDebInfo

Building on Linux

apt update && apt install -y ninja-build clang-11 python3-pip libstdc++6 libc6
pip install --upgrade pip setuptools wheel
pip3 install --user -v "conan==1.59.0"
pip3 install --user -v "cmake==3.23.3"
git clone --recursive https://github.com/Sreyas-Sreelal/omprs
cd omprs
cmake -S . -B build -G Ninja
cmake --build build

Installation

Copy Rust.dll or Rust.so (64 or 32 bit depending on your open.mp server) to components folder

componentcppompopenmprustsamp

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem