forked from UNLOZE/sm-plugins
Merge remote-tracking branch 'unloze/master'
and fix like everything
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user