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.
int BuildPath(PathType type, char buffer, int maxlength, const char fmt, any... ...)
Type of path to build as the base.
Buffer to store the path.
Maximum length of buffer.
Number of bytes written to buffer (not including null terminator).