diff -r 2d0dbd03c503 -r 47649a1d49e3 sourcemm/CSmmAPI.cpp --- a/sourcemm/CSmmAPI.cpp Fri Apr 21 02:30:02 2006 +0000 +++ b/sourcemm/CSmmAPI.cpp Fri Apr 21 06:35:47 2006 +0000 @@ -360,3 +360,12 @@ } } +void CSmmAPI::ClientConPrintf(edict_t *client, const char *fmt, ...) +{ + va_list ap; + static char buf[4096]; + va_start(ap, fmt); + vsnprintf(buf, sizeof(buf) - 1, fmt, ap); + g_Engine.engine->ClientPrintf(client, buf); + va_end(ap); +}