Page 1 of 1

[INC] debug

Posted: Sun Oct 04, 2026 2:52 pm
by Archive-Poster
Description With this inc file you have a functions to print debug messages, using a debug message you can extract data from server or you can solve problems, depends on your needs.

Code example for testing...

Code: Select all

#include <amxmodx>
#include <debug>

public plugin_init()
{
    debug_log(5, "Plugin Init called" );

    register_clcmd( "test", "ptest" );
}

public ptest(id)
{
    debug_log(5, "ptest(id) Called!" );

    if( is_user_alive(id) )
    {
        debug_log(5, "is_user_alive succesfully filtred!" );
        // your code here.
    }
} 
Documentation Is inside of the file