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.
}
} 