fix(rcon): add response to say/tell commands
This commit is contained in:
parent
3f3810a81f
commit
5795836d93
@ -97,6 +97,7 @@ namespace chat
|
|||||||
const auto* message = utils::string::va(format, 'O', text.data());
|
const auto* message = utils::string::va(format, 'O', text.data());
|
||||||
|
|
||||||
game::SV_GameSendServerCommand(-1, game::SV_CMD_CAN_IGNORE_0, message);
|
game::SV_GameSendServerCommand(-1, game::SV_CMD_CAN_IGNORE_0, message);
|
||||||
|
printf("Server: %s\n", text.data());
|
||||||
});
|
});
|
||||||
|
|
||||||
// Overwrite tell command
|
// Overwrite tell command
|
||||||
@ -121,6 +122,7 @@ namespace chat
|
|||||||
const auto* message = utils::string::va(format, 'O', text.data());
|
const auto* message = utils::string::va(format, 'O', text.data());
|
||||||
|
|
||||||
game::SV_GameSendServerCommand(client, game::SV_CMD_CAN_IGNORE_0, message);
|
game::SV_GameSendServerCommand(client, game::SV_CMD_CAN_IGNORE_0, message);
|
||||||
|
printf("Server -> %i: %s\n", client, text.data());
|
||||||
});
|
});
|
||||||
|
|
||||||
// Kill say fallback
|
// Kill say fallback
|
||||||
|
Loading…
Reference in New Issue
Block a user