IDK if it works with csgo, but this is what i use for css
PHP Code:
public OnPluginStart()
{
CreateConVar("acc_version", VERSION, "");
AddCommandListener(SayHook, "say");
}
public Action:SayHook(client, const String:command[], args)
{
new AdminId:AdminID = GetUserAdmin(client);
if(AdminID == INVALID_ADMIN_ID)
return Plugin_Continue;
decl String:Name[MAX_NAME_LENGTH];
decl String:Msg[256];
GetClientName(client, Name, sizeof(Name));
GetCmdArgString(Msg, sizeof(Msg));
Msg[strlen(Msg)-1] = '\0';
CPrintToChatAll("[\x05Admin\x01] {teamcolor}%s: {default}%s", Name, Msg[1]);
return Plugin_Handled;
}
__________________