Remove silent option for antibackstab
This commit is contained in:
parent
3d0f4a1355
commit
933966c735
@ -17,7 +17,6 @@ namespace hacks::tf2::antibackstab
|
|||||||
{
|
{
|
||||||
static settings::Boolean enable{ "antibackstab.enable", "0" };
|
static settings::Boolean enable{ "antibackstab.enable", "0" };
|
||||||
static settings::Float distance{ "antibackstab.distance", "200" };
|
static settings::Float distance{ "antibackstab.distance", "200" };
|
||||||
static settings::Boolean silent{ "antibackstab.silent", "1" };
|
|
||||||
static settings::Boolean sayno{ "antibackstab.nope", "0" };
|
static settings::Boolean sayno{ "antibackstab.nope", "0" };
|
||||||
bool noaa = false;
|
bool noaa = false;
|
||||||
|
|
||||||
@ -125,7 +124,6 @@ void CreateMove()
|
|||||||
bool couldbebackstabbed = hacks::tf2::autobackstab::angleCheck(spy, LOCAL_E, std::nullopt, spy_angle);
|
bool couldbebackstabbed = hacks::tf2::autobackstab::angleCheck(spy, LOCAL_E, std::nullopt, spy_angle);
|
||||||
if (couldbebackstabbed || CE_INT(spy, netvar.iClass) == tf_class::tf_heavy)
|
if (couldbebackstabbed || CE_INT(spy, netvar.iClass) == tf_class::tf_heavy)
|
||||||
current_user_cmd->viewangles.x = 150.0f;
|
current_user_cmd->viewangles.x = 150.0f;
|
||||||
if (silent)
|
|
||||||
g_pLocalPlayer->bUseSilentAngles = true;
|
g_pLocalPlayer->bUseSilentAngles = true;
|
||||||
if (sayno)
|
if (sayno)
|
||||||
SayNope();
|
SayNope();
|
||||||
|
Reference in New Issue
Block a user