[Tool/Web/Other] [C++] SA:MP Plugin Template Library (samp-ptl)

Started by Kalcor, SA:MP, Aug 08, 2023, 07:46 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Kalcor, SA:MP

[Tool/Web/Other] [C++] SA:MP Plugin Template Library (samp-ptl)

SA:MP Plugin Template Library (samp-ptl)




Description:



C++17 template library that allows you to create your own plugins for SA:MP server very easy and fast.



Main features:
  • Safe C++ AMX API with errors handling

  • Pool of scripts (gamemode at the end)

  • Easy executing the callbacks (publics) with optional caching

  • Easy registration of natives: auto-conversion parameters from cell type to common C++ types. You may also define your own conversions

  • Logging

  • Checking for a version match between the plugin and scripts


Examples:

https://github.com/urShadow/samp-ptl...master/example

https://github.com/urShadow/Pawn.CMD

https://github.com/urShadow/Pawn.Regex



Source code:

https://github.com/urShadow/samp-ptl

Source: [Tool/Web/Other] [C++] SA:MP Plugin Template Library (samp-ptl)