Merge pull request #383 from diamante0018/main

fix(rcon): add response to say/tell commands
This commit is contained in:
Maurice Heumann 2023-03-23 14:39:15 +01:00 committed by GitHub
commit f8e19f9846

View File

@ -97,6 +97,7 @@ namespace chat
const auto* message = utils::string::va(format, 'O', text.data());
game::SV_GameSendServerCommand(-1, game::SV_CMD_CAN_IGNORE_0, message);
printf("Server: %s\n", text.data());
});
// Overwrite tell command
@ -121,6 +122,7 @@ namespace chat
const auto* message = utils::string::va(format, 'O', text.data());
game::SV_GameSendServerCommand(client, game::SV_CMD_CAN_IGNORE_0, message);
printf("Server -> %i: %s\n", client, text.data());
});
// Kill say fallback