Closed Y-Less closed 6 years ago
Thanks! Are there any active Pawn projects that are not SA:MP related (not amx_assembly either)? I would be interested in trying to use sampctl (just the package manager part) with a pure Pawn project - just out of interest!
TBH I've not actually looked. I'm thinking ahead somewhat (can't say why). Check: https://www.compuphase.com/pawn/pawnprojects.htm (I suspect that list has not been updated in about as long as many of those projects).
Added
strformat
,strcopy
, andstrequal
to string.inc. Added console.inc withprint
andprintf
. Added default.inc including core.inc and console.inc. Made console.inc try include a_samp.inc so thatprint
andprintf
aren't defined twice if it exists.These changes are a small attempt to improve code compatibility with: https://github.com/compuphase/pawn/tree/master/include (the original PAWN repository with more functions). One thing discussed was the fact that
print
andprintf
are quite core functions, but are defined in a_samp.inc with game API functions. The upstream code puts them in console.inc, so this does too.TODO:
Maybe try backport even more of the newer functions like the
cfg
and consoleget
ones.