Skip to content

open.mp plugin sdk -- [work in progress] samp plugin sdk full rewriting

License

Notifications You must be signed in to change notification settings

blefonix/omp-plugin-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SA-MP Plugin SDK

This is a copy of the SA-MP plugin SDK files extracted from MapAndreas (a plugin by Kalcor). It is the bare minium that you need to develop plugins.

The plugin SDK used to be hosted on the SA-MP website but was removed for some reason, hence this repo was born.

About this fork

CMake support was added to improve the library usability. No library code changes are intended, but feel free to submit pull requests about the CMake part.

Installation (on Windows should be ran with admin privileges):

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build

Usage:

find_package(sampsdk REQUIRED)

target_link_libraries(myapp PRIVATE sampsdk::sampsdk)

Also SAMPSDK_INCLUDE_DIR is defined by library config after you call find_package. You probably won't need it (include directory is set by means of sampsdk::sampsdk target) but anyway just know that such variable exists.

About

open.mp plugin sdk -- [work in progress] samp plugin sdk full rewriting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published