From 1eac58a5b745880198c980c5f51db7ef69d6dc51 Mon Sep 17 00:00:00 2001 From: Arron Vinyard Date: Wed, 30 Mar 2022 22:31:00 -0400 Subject: [PATCH] Add MAX_CONSOLE_LENGTH define to console.inc This creates a define to match the underlying SourceMod buffer sizes for Print functions --- plugins/include/console.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/include/console.inc b/plugins/include/console.inc index c08738ca7..96297b730 100644 --- a/plugins/include/console.inc +++ b/plugins/include/console.inc @@ -37,6 +37,8 @@ #define INVALID_FCVAR_FLAGS (-1) +#define MAX_CONSOLE_LENGTH 1024 + /** * Console variable query helper values. */