summaryrefslogtreecommitdiff
path: root/sourcemod-1.5-dev/scripting/include/smlib/debug.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sourcemod-1.5-dev/scripting/include/smlib/debug.inc')
-rw-r--r--sourcemod-1.5-dev/scripting/include/smlib/debug.inc30
1 files changed, 0 insertions, 30 deletions
diff --git a/sourcemod-1.5-dev/scripting/include/smlib/debug.inc b/sourcemod-1.5-dev/scripting/include/smlib/debug.inc
deleted file mode 100644
index d0bc141..0000000
--- a/sourcemod-1.5-dev/scripting/include/smlib/debug.inc
+++ /dev/null
@@ -1,30 +0,0 @@
-#if defined _smlib_debug_included
- #endinput
-#endif
-#define _smlib_debug_included
-
-#include <sourcemod>
-
-/**
- * Prints the values of a static Float-Array to the server console.
- *
- * @param array Static Float-Array.
- * @param size Size of the Array.
- * @noreturn
- */
-stock Debug_FloatArray(const Float:array[], size=3)
-{
- new String:output[64] = "";
-
- for (new 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);
-}