Beispiel #1
0
void conoutfv(int type, const char *fmt, va_list args)
{
    string sf, sp;
    vformatstring(sf, fmt, args);
    filtertext(sp, sf);
    logoutf("%s", sp);
}
Beispiel #2
0
void masteroutf(masterclient &c, const char *fmt, ...)
{
    bigstring msg;
    va_list args;
    va_start(args, fmt);
    vformatstring(msg, fmt, args);
    va_end(args);
    masterout(c, msg);
}
Beispiel #3
0
void conoutfv(int type, const char *fmt, va_list args)
{
    //remod
    //logoutfv(fmt, args);

    // remod
    static char buf[LOGSTRLEN];
    vformatstring(buf, fmt, args, sizeof(buf));
    logoutf("%s", buf);
    filtertext(buf, buf);
    remod::rcon::sendmsg(buf);
}
Beispiel #4
0
static void writelogv(FILE *file, const char *fmt, va_list args)
{
    static char buf[LOGSTRLEN];
    vformatstring(buf, fmt, args, sizeof(buf));
    writelog(file, buf);
}