Add example CON_COMMAND

This commit is contained in:
Lauri Räsänen 2024-04-25 05:10:20 +03:00
parent 9b22b72fd9
commit 38bb77a077

View file

@ -155,3 +155,8 @@ void ServerPlugin::ListenToGameEvent(const char* name)
m_engineInterfaces.gameEventManager->AddListener(this, name, true);
m_gameEventsHooked = true;
}
CON_COMMAND(example, "Example command")
{
Msg("[ServerPlugin] Scientist: \"Do you know who ate all the donuts?\"\n");
}