sourcemod 1.13 upgrade. moved all plugins from steamworks to ripext. added smjanson and asyncsocket.inc an extra time so its easier to find. updated plugins that would not compile with 1.13
This commit is contained in:
@@ -87,16 +87,21 @@ public void OnConVarChanged(ConVar convar, const char[] oldValue, const char[] n
|
||||
|
||||
public void OnMapStart()
|
||||
{
|
||||
if(g_hTimer != INVALID_HANDLE && CloseHandle(g_hTimer))
|
||||
if(g_hTimer != INVALID_HANDLE)
|
||||
{
|
||||
CloseHandle(g_hTimer);
|
||||
g_hTimer = INVALID_HANDLE;
|
||||
|
||||
}
|
||||
g_hTimer = CreateTimer(TIMER_INTERVAL, Timer_CleanupWeapons, INVALID_HANDLE, TIMER_REPEAT);
|
||||
}
|
||||
|
||||
public void OnMapEnd()
|
||||
{
|
||||
if(g_hTimer != INVALID_HANDLE && CloseHandle(g_hTimer))
|
||||
if(g_hTimer != INVALID_HANDLE)
|
||||
{
|
||||
CloseHandle(g_hTimer);
|
||||
g_hTimer = INVALID_HANDLE;
|
||||
}
|
||||
}
|
||||
|
||||
public void OnClientPutInServer(int client)
|
||||
|
||||
Reference in New Issue
Block a user