22.08.2012, 10:42
I see the problem, you'll have to set a \ before all the " that you are using in your text becuse otherwise the function think your string ends there. Like this:
format(str, sizeof(str), "\"#COL_RED\"[ADMIN-ANN]\"#COl_WHITE\"%s: %s", sendername, str);
format(str, sizeof(str), "\"#COL_RED\"[ADMIN-ANN]\"#COl_WHITE\"%s: %s", sendername, str);