The PAWN memory access plugin allows to allocate and free memory from heap in PAWN. Detailed documentation can be checked out at the wiki.
- Get sampctl from https://github.com/Southclaws/sampctl
- Install package using this command:
sampctl package install BigETI/pawn-memory
- Include library in your PAWN code
#include <memory>
- Move or copy the required files accordingly
- Include library in your PAWN code
#include <memory>
The documentation is located at https://github.com/BigETI/pawn-memory/wiki
You can find the licence here: https://github.com/BigETI/pawn-memory/blob/master/LICENCE.md
Just create a fork out of this project, make your changes and create a pull request.