From 5e2eb7d67ae933b7566f1944d0bb7744da03d586 Mon Sep 17 00:00:00 2001 From: aura Date: Tue, 17 Feb 2026 23:42:09 +0100 Subject: move source stuff to its own folder --- sourcemod/scripting/include/smlib/debug.inc | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 sourcemod/scripting/include/smlib/debug.inc (limited to 'sourcemod/scripting/include/smlib/debug.inc') diff --git a/sourcemod/scripting/include/smlib/debug.inc b/sourcemod/scripting/include/smlib/debug.inc deleted file mode 100644 index 6a416ed..0000000 --- a/sourcemod/scripting/include/smlib/debug.inc +++ /dev/null @@ -1,28 +0,0 @@ -#if defined _smlib_debug_included - #endinput -#endif -#define _smlib_debug_included - -#include - -/** - * Prints the values of a static Float-Array to the server console. - * - * @param array Static Float-Array. - * @param size Size of the Array. - */ -stock void Debug_FloatArray(const float[] array, int size=3) -{ - char output[64] = ""; - - for (int i=0; i < size; ++i) { - - if (i > 0 && i < size) { - StrCat(output, sizeof(output), ", "); - } - - Format(output, sizeof(output), "%s%f", output, array[i]); - } - - PrintToServer("[DEBUG] Vector[%d] = { %s }", size, output); -} -- cgit v1.2.3