Peace-Maker e078b2b542 Add VFormat macro for backwards compatibility
SourcePawn 2 supports passing the variable arguments through to another function natively.

Instead of using `VFormat` you can just call `Format(buf, sizeof(buf), fmt, ...)` directly with the ellipsis `...`.

This broke plugins using VFormat. Add a macro to transparently replace `VFormat` with `Format` calls when compiling with the SourcePawn 2 compiler to keep the plugins from complaining about a missing `VFormat`.

Preprocessor macros are not affected by `#pragma deprecated` so we cannot warn about this yet.
2026-09-03 08:58:20 -07:00
2026-09-01 18:58:42 -07:00
2026-09-01 18:58:42 -07:00
2026-07-22 18:38:29 -04:00
2019-09-30 22:43:18 -07:00
2026-09-01 18:58:42 -07:00
2020-08-18 23:09:43 -07:00
2026-09-01 18:58:42 -07:00
2021-09-22 12:36:44 -07:00
2011-04-13 19:05:41 -05:00
2024-10-20 12:57:26 -04:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

License

SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.

S
Description
No description provided
Readme
51 MiB
Languages
C 59.7%
C++ 18%
HTML 4.8%
Roff 3.8%
SourcePawn 3.4%
Other 10%