Add example CON_COMMAND
This commit is contained in:
parent
9b22b72fd9
commit
38bb77a077
1 changed files with 5 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue