forked from UNLOZE/sm-plugins
Fix CallAdmin
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include "include/calladmin_stocks"
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include "include/updater"
|
||||
#include <clientprefs>
|
||||
#pragma semicolon 1
|
||||
#pragma newdecls required
|
||||
@@ -133,11 +132,6 @@ Handle g_hOnReportHandledForward;
|
||||
|
||||
|
||||
|
||||
|
||||
// Updater
|
||||
#define UPDATER_URL "http://plugins.gugyclan.eu/calladmin/calladmin.txt"
|
||||
|
||||
|
||||
public Plugin myinfo =
|
||||
{
|
||||
name = "CallAdmin",
|
||||
@@ -698,29 +692,6 @@ public Action Timer_Advert(Handle timer)
|
||||
|
||||
|
||||
|
||||
|
||||
public void OnAllPluginsLoaded()
|
||||
{
|
||||
if (LibraryExists("updater"))
|
||||
{
|
||||
Updater_AddPlugin(UPDATER_URL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void OnLibraryAdded(const char[] name)
|
||||
{
|
||||
if (StrEqual(name, "updater"))
|
||||
{
|
||||
Updater_AddPlugin(UPDATER_URL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void OnCvarChanged(ConVar cvar, const char[] oldValue, const char[] newValue)
|
||||
{
|
||||
if (cvar == g_hHostPort)
|
||||
|
||||
Reference in New Issue
Block a user