just storing madness elite ze hack detector
This commit is contained in:
parent
ffe2120d43
commit
76f1720f2e
46
madness_elite_ze_detector/scripting/testingjust.sp
Normal file
46
madness_elite_ze_detector/scripting/testingjust.sp
Normal file
@ -0,0 +1,46 @@
|
||||
#pragma semicolon 1
|
||||
|
||||
#define PLUGIN_AUTHOR "null138"
|
||||
#define PLUGIN_VERSION "3.00"
|
||||
|
||||
#include <sourcemod>
|
||||
#include <sdktools>
|
||||
Handle g_hOnReportkickForward;
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
public Plugin myinfo =
|
||||
{
|
||||
name = "testing ust",
|
||||
author = PLUGIN_AUTHOR,
|
||||
version = PLUGIN_VERSION,
|
||||
url = "https://steamcommunity.com/id/null138/"
|
||||
}
|
||||
|
||||
public void OnPluginStart()
|
||||
{
|
||||
g_hOnReportkickForward = CreateGlobalForward("KickEliteHackDetectorPost", ET_Ignore, Param_Cell);
|
||||
}
|
||||
|
||||
|
||||
public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3])
|
||||
{
|
||||
if(IsPlayerAlive(client) && !IsFakeClient(client))
|
||||
{
|
||||
if(vel[0] == 399.999969 || vel[0] == -399.999969 || \
|
||||
vel[0] == 400.000030 || vel[0] == -400.000030 || \
|
||||
vel[0] == 0.000017 || vel[0] == -0.000017 || \
|
||||
vel[0] == 205.600189 || vel[0] == -205.600189 || \
|
||||
vel[0] == 205.600219 || -vel[0] == -205.600219 || \
|
||||
vel[1] == 205.600204 || vel[1] == -205.600204)
|
||||
{
|
||||
if(IsClientInGame(client))
|
||||
{
|
||||
Call_StartForward(g_hOnReportkickForward);
|
||||
Call_PushCell(client);
|
||||
Call_Finish();
|
||||
KickClientEx(client, "get out thx");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user