Update LagExploit.cpp
This commit is contained in:
parent
2e22b26443
commit
9f15cca230
@ -33,6 +33,7 @@ CatVar value(CV_INT, "se_value", "900", "Sequence exploit value",
|
|||||||
CatCommand do_lagexploit("se_do", "Sequence exploit (for use in scripts)",
|
CatCommand do_lagexploit("se_do", "Sequence exploit (for use in scripts)",
|
||||||
[]() { AddExploitTicks(6); });
|
[]() { AddExploitTicks(6); });
|
||||||
int exticks = 0;
|
int exticks = 0;
|
||||||
|
model_t *point = nullptr;
|
||||||
void AddExploitTicks(int ticks)
|
void AddExploitTicks(int ticks)
|
||||||
{
|
{
|
||||||
exticks = std::max(ticks, exticks);
|
exticks = std::max(ticks, exticks);
|
||||||
@ -135,7 +136,6 @@ void CreateMove()
|
|||||||
return;
|
return;
|
||||||
int amount = 0;
|
int amount = 0;
|
||||||
static bool bWasHolding = false;
|
static bool bWasHolding = false;
|
||||||
static model_t *point = nullptr;
|
|
||||||
bool bIsHolding = ((g_pUserCmd->buttons & IN_ATTACK) ||
|
bool bIsHolding = ((g_pUserCmd->buttons & IN_ATTACK) ||
|
||||||
(g_pUserCmd->buttons & IN_ATTACK2));
|
(g_pUserCmd->buttons & IN_ATTACK2));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user