Skip to content

A (very) basic example of how to implement a Pawn native in open.mp.

Notifications You must be signed in to change notification settings

Cheaterman/open.mp-pawn-native-example

Repository files navigation

open.mp Pawn native example

Tools

Tools on Windows

Visual Studio needs the Desktop development with C++ workload with the MSVC v142, Windows 10 SDK and C++ Clang tools for Windows components.

Sources

# With HTTPS:
git clone --recursive https://github.com/Cheaterman/open.mp-pawn-native-example.git
# With SSH:
git clone --recursive [email protected]:Cheaterman/open.mp-pawn-native-example.git

Note the use of the --recursive argument, because this repository contains submodules.

Building on Windows

cd open.mp-pawn-native-example
mkdir build
cd build
cmake .. -A Win32 -T ClangCL

Open Visual Studio and build the solution.

Building on Linux

cd open.mp-pawn-native-example
# Adjust CC/CXX to your clang/clang++ paths
./build.sh

About

A (very) basic example of how to implement a Pawn native in open.mp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published