Merge remote-tracking branch 'unloze/master'

and fix like everything
This commit is contained in:
BotoX
2019-07-25 00:14:52 +02:00
1024 changed files with 52953 additions and 9868 deletions
+5 -13
View File
@@ -2,8 +2,8 @@
#include <sdktools>
#include <sdkhooks>
#include <zombiereloaded>
#include <multicolors.inc>
#include "loghelper.inc"
#include <multicolors>
#include <hlstatsx_loghelper>
#pragma semicolon 1
#pragma newdecls required
@@ -38,14 +38,6 @@ public void OnPluginStart()
HookEntityOutput("func_button", "OnPressed", OnPressed);
}
//----------------------------------------------------------------------------------------------------
// Purpose:
//----------------------------------------------------------------------------------------------------
public void OnMapStart()
{
GetTeams();
}
//----------------------------------------------------------------------------------------------------
// Purpose:
//----------------------------------------------------------------------------------------------------
@@ -74,7 +66,7 @@ public void OnStartTouch(const char[] sOutput, int iCaller, int iActivator, floa
CreateTimer(g_cCD.FloatValue, ResetCD);
LogPlayerEvent(iActivator, "triggered", "trigger");
LH_LogPlayerEvent(iActivator, "triggered", "trigger", true);
}
//----------------------------------------------------------------------------------------------------
@@ -106,7 +98,7 @@ public void OnPressed(const char[] sOutput, int iCaller, int iActivator, float f
CreateTimer(g_cCD.FloatValue, ResetCD);
LogPlayerEvent(iActivator, "triggered", "trigger");
LH_LogPlayerEvent(iActivator, "triggered", "trigger", true);
}
//----------------------------------------------------------------------------------------------------
@@ -126,4 +118,4 @@ public bool IsValidClient(int iClient)
return false;
return true;
}
}