Code:
#include <amxmisc>
public command(id,level,cid) {
if(!cmd_access(id,level,cid,argument_count))
return PLUGIN_HANDLED;
}
argument_count should be the number of arguments plus one, so if your command was amx_command <player> <action> then the number would be 3. This automatically checks admin flags and argument count and outputs text to the console.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS