Initial commit

This commit is contained in:
2025-04-15 22:27:20 -04:00
parent 5b7b68f81f
commit 771d8fe8e8
597 changed files with 149544 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#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.
*/
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);
}