mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-02 15:55:30 +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 (!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 {
|
||||
std::stringstream Reply;
|
||||
|
Loading…
x
Reference in New Issue
Block a user