gay
This commit is contained in:
parent
bc21b5b4e4
commit
b66babe0c5
@ -18,7 +18,7 @@ CatVar communicate(CV_SWITCH, "identify", "1", "identify",
|
|||||||
"Auto identify for other cathook users");
|
"Auto identify for other cathook users");
|
||||||
CatVar enabled(CV_SWITCH, "aa_enabled", "0", "Anti-Aim",
|
CatVar enabled(CV_SWITCH, "aa_enabled", "0", "Anti-Aim",
|
||||||
"Master AntiAim switch");
|
"Master AntiAim switch");
|
||||||
CatVar trueang(CV_SWITCH, "aa_realfakes", "1", "Real fakes",
|
CatVar trueang(CV_SWITCH, "aa_realfakes", "0", "Real fakes",
|
||||||
"Do real fakeangles (Unresolveable)");
|
"Do real fakeangles (Unresolveable)");
|
||||||
CatVar yaw(CV_FLOAT, "aa_yaw", "0.0", "Yaw", "Static yaw (left/right)", 360.0);
|
CatVar yaw(CV_FLOAT, "aa_yaw", "0.0", "Yaw", "Static yaw (left/right)", 360.0);
|
||||||
CatVar pitch(CV_FLOAT, "aa_pitch", "-89.0", "Pitch", "Static pitch (up/down)",
|
CatVar pitch(CV_FLOAT, "aa_pitch", "-89.0", "Pitch", "Static pitch (up/down)",
|
||||||
|
@ -167,6 +167,7 @@ void CreateMove()
|
|||||||
|
|
||||||
// Return as its a waste to check anymore, we detonated
|
// Return as its a waste to check anymore, we detonated
|
||||||
// and all the rest of the stickys are gone
|
// and all the rest of the stickys are gone
|
||||||
|
if (!HasWeapon(LOCAL_E, 130))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Since legit mode is on, check if the sticky can see
|
// Since legit mode is on, check if the sticky can see
|
||||||
|
@ -149,8 +149,6 @@ void CreateMove()
|
|||||||
if (!g_pUserCmd->command_number)
|
if (!g_pUserCmd->command_number)
|
||||||
return;
|
return;
|
||||||
int amount = 0;
|
int amount = 0;
|
||||||
if (cart)
|
|
||||||
{
|
|
||||||
for (int i = 1; i < HIGHEST_ENTITY; i++)
|
for (int i = 1; i < HIGHEST_ENTITY; i++)
|
||||||
{
|
{
|
||||||
if (!point2)
|
if (!point2)
|
||||||
@ -198,10 +196,14 @@ void CreateMove()
|
|||||||
if (!model)
|
if (!model)
|
||||||
continue;
|
continue;
|
||||||
const char *model_name = g_IModelInfo->GetModelName(model);
|
const char *model_name = g_IModelInfo->GetModelName(model);
|
||||||
if (strstr("models/props_trainyard/bomb_cart_red.mdl",
|
if (strstr("models/props_trainyard/bomb_cart_red.mdl", model_name))
|
||||||
model_name))
|
|
||||||
point5 = model;
|
point5 = model;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if (cart)
|
||||||
|
{
|
||||||
|
for (int i = 1; i < HIGHEST_ENTITY; i++)
|
||||||
|
{
|
||||||
if (!point2 && !point3 && !point4 && !point5)
|
if (!point2 && !point3 && !point4 && !point5)
|
||||||
continue;
|
continue;
|
||||||
CachedEntity *pEnt = ENTITY(i);
|
CachedEntity *pEnt = ENTITY(i);
|
||||||
|
@ -1194,6 +1194,7 @@ void Move()
|
|||||||
if (!prevlvlname)
|
if (!prevlvlname)
|
||||||
prevlvlname = g_IEngine->GetLevelName();
|
prevlvlname = g_IEngine->GetLevelName();
|
||||||
std::string prvlvlname = format(prevlvlname);
|
std::string prvlvlname = format(prevlvlname);
|
||||||
|
logging::Info("%s", prevlvlname);
|
||||||
if (boost::contains(prvlvlname, "pl_"))
|
if (boost::contains(prvlvlname, "pl_"))
|
||||||
{
|
{
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
Reference in New Issue
Block a user