Just tested it in HL2:MP, SM 1.2.3. This works for me:
PHP Code:
#include <sourcemod>
#include <colors>
public OnPluginStart()
{
RegConsoleCmd("clr_print", Command_ClrPrint);
}
public Action:Command_ClrPrint(client, args)
{
CPrintToChatAll("{green}[SM] {default}test.");
return Plugin_Handled;
}
Have you placed
colors.inc into
scripting/include folder and added
"#include <colors>" in the beginning of the code?