Thread: [INC] debug
View Single Post
Author Message
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 05-22-2017 , 04:46   [INC] debug
Reply With Quote #1

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.

Credits

PRoSToTeM@
BlackRose
PartialClonning
ConnorMcLeod
Addonszzz
Emp'


Code example for testing...
PHP Code:
#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 but if you have any question you can reply on this thread.
Attached Files
File Type: inc debug.inc (4.3 KB, 187 views)

Last edited by Craxor; 06-23-2017 at 18:53.
Craxor is offline
Send a message via ICQ to Craxor