mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
TConsole: Add notice about help command on wrong command
This commit is contained in:
parent
f477570a1c
commit
86169ad0fa
@ -289,7 +289,7 @@ void TConsole::RunAsCommand(const std::string& cmd, bool IgnoreNotACommand) {
|
|||||||
}
|
}
|
||||||
if (NonNilFutures.size() == 0) {
|
if (NonNilFutures.size() == 0) {
|
||||||
if (!IgnoreNotACommand) {
|
if (!IgnoreNotACommand) {
|
||||||
Application::Console().WriteRaw("Error: Unknown command: '" + cmd + "'");
|
Application::Console().WriteRaw("Error: Unknown command: '" + cmd + "'. Type 'help' to see a list of valid commands.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
std::stringstream Reply;
|
std::stringstream Reply;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user