BuildPath
Builds a path relative to the SourceMod folder. This should be used instead of
directly referencing addons/sourcemod, in case users change the name of their
folder layout.
native int BuildPath(PathType type, char[] buffer, int maxlength, const char[] fmt, any ...)Parameters
Type of path to build as the base.
char[] buffer
Buffer to store the path.
int maxlength
Maximum length of buffer.
const char[] fmt
Format string.
any... ...
Format arguments.
Return Value
int Number of bytes written to buffer (not including null terminator).