forked from UNLOZE/sm-plugins
Preparation for Happy Hour
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#pragma semicolon 1
|
||||
|
||||
#include <sourcemod>
|
||||
|
||||
#include "loghelper.inc"
|
||||
#include <hlstatsx_loghelper>
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
@@ -28,11 +27,6 @@ public void OnPluginEnd()
|
||||
UnhookEvent("player_disconnect", EventHook_PlayerDisconnect, EventHookMode_Post);
|
||||
}
|
||||
|
||||
public void OnMapStart()
|
||||
{
|
||||
GetTeams();
|
||||
}
|
||||
|
||||
public void EventHook_PlayerDisconnect(Event hEvent, const char[] sName, bool bDontBroadcast)
|
||||
{
|
||||
bool bIsBot = view_as<bool>(hEvent.GetInt("bot"));
|
||||
@@ -66,7 +60,7 @@ public Action Timer_CheckConnectionTime(Handle hThis)
|
||||
char sPlayerEvent[32];
|
||||
Format(sPlayerEvent, sizeof(sPlayerEvent), "staying_server_%d", iConnectionTimeClamped / 60);
|
||||
|
||||
LogPlayerEvent(i, "triggered", sPlayerEvent);
|
||||
LH_LogPlayerEvent(i, "triggered", sPlayerEvent, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user