Fix format string for chat glog call

I based myself off of Black Ops instead of IW4, sry
This commit is contained in:
Diavolo 2022-05-22 17:35:52 +02:00
parent d6e5396295
commit d601658a52
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -22,11 +22,11 @@ static void notify_on_say(game::native::gentity_s* ent, int mode, const char* me
if (mode == 0)
{
log_file::g_log_printf("say;%d;%d;%s;%s\n", guid, ent_num, name, message + 1);
log_file::g_log_printf("say;%s;%d;%s;%s\n", guid, ent_num, name, message + 1);
}
else
{
log_file::g_log_printf("sayteam;%d;%d;%s;%s\n", guid, ent_num, name, message + 1);
log_file::g_log_printf("sayteam;%s;%d;%s;%s\n", guid, ent_num, name, message + 1);
}
}