Commit 7121258a authored by Neoony's avatar Neoony
Browse files

v0.1 WIP1

Forgotten updater lines fix
parent a05849dc
Pipeline #3107 passed with stages
in 1 minute and 42 seconds
......@@ -96,12 +96,25 @@ public void OnPluginStart()
//l_connecttimer = CreateConVar("l_connecttimer", "30", "How long to display the connect dialog for (Seconds)");
l_restrictvote = CreateConVar("l_restrictvote", "30", "For how long to restrict the vote starting, after a vote happened (Seconds)");
if (LibraryExists("updater"))
{
Updater_AddPlugin(UPDATE_URL);
}
//Create or load config files
AutoExecConfig(true, "Lobby");
//Message
PrintToServer("[L]: Lobby by Neoony - Loaded");
}
public void OnLibraryAdded(const char[] name)
{
if (StrEqual(name, "updater"))
{
Updater_AddPlugin(UPDATE_URL);
}
}
public void OnClientPutInServer(int Client)
{
//Clear timer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment