samp.directory
← Scripts and libraries

basdon/documented-samp-pawn-api

default sa-mp includes with documentation

Library★ 7updated Jul 2026No licencePawn
Open on GitHub

This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.

README.md

documented-samp-pawn-api

sample output with all functions and callbacks (this might be heavy to load)
all npc functions

These are the default (0.3.7-R2-1-1) SA:MP PAWN include files but with documentation comments added. The documentation has been sourced from the (now defunct) SA:MP wiki, with many fixes applied and extra missing or extended information added.

Also includes missing native declarations for: GetGravity/gpci/IsValidVehicle

howto

If you use these for your project, you can use the -rfilename PAWN compiler option to generate a report of your code in XML format and the report will include all referenced functions with their documentation.

This report will not show fully correctly unless pawndocimproved is used.

For more information on this report and documentation syntax, see the PAWN language guide page 52: A tutorial introduction - Documentation comments.

pawnsa-mpsamp

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing