Here, I'll be nice and give you a full example.
Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("blah" , "1.0" , "Suicid3")
register_concmd("amx_test" , "FuncTest" , ADMIN_LEVEL_A , "This is a test")
}
public FuncTest( id , level , cid)
{
if(!cmd_access( id , level , cid , 1)) //meaning no arguments.
return PLUGIN_HANDLED
console_print( id , "[AMXX] You have access!!!!!!")
return PLUGIN_HANDLED
}
just try this out and you will see.