Hello, for reload the plugin this should works
PHP Code:
#include <sourcemod>
#define TIMER_INTERVAL 300.0
#define PLUGIN_NAME "l4d2_meleemod2.2.1"
public void OnPluginStart()
{
CreateTimer(TIMER_INTERVAL, Timer_Reload, _, TIMER_REPEAT);
}
public Action Timer_Reload(Handle timer)
{
ServerCommand("sm plugins reload %s", PLUGIN_NAME);
}
You can change the define values and compile
here.
__________________