mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-27 14:30:30 +00:00
refactor version
This commit is contained in:
1 parent
913674740d
commit
707682f4a8
1 file changed
+2
-2
+2
-2
@@ -248,7 +248,7 @@ void TConsole::Command_Help(const std::string&, const std::vector<std::string>&
|
|||||||
settings [command] sets or gets settings for the server, run `settings help` for more info
|
settings [command] sets or gets settings for the server, run `settings help` for more info
|
||||||
status how the server is doing and what it's up to
|
status how the server is doing and what it's up to
|
||||||
clear clears the console window
|
clear clears the console window
|
||||||
version return current version to console)";
|
version displays the server version)";
|
||||||
Application::Console().WriteRaw("BeamMP-Server Console: " + std::string(sHelpString));
|
Application::Console().WriteRaw("BeamMP-Server Console: " + std::string(sHelpString));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -273,7 +273,7 @@ void TConsole::Command_Version(const std::string& cmd, const std::vector<std::st
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mCommandline->write("Current version: " + Application::ServerVersionString());
|
Application::Console().WriteRaw("Current version: " + Application::ServerVersionString());
|
||||||
}
|
}
|
||||||
|
|
||||||
void TConsole::Command_Kick(const std::string&, const std::vector<std::string>& args) {
|
void TConsole::Command_Kick(const std::string&, const std::vector<std::string>& args) {
|
||||||
|
|||||||
Reference in new issue
Block a user