add a Option to ONLY heal target steamid.
This commit is contained in:
parent
f9ff1ae978
commit
de6f1dba4e
@ -306,6 +306,7 @@ void DoResistSwitching()
|
||||
|
||||
int force_healing_target{ 0 };
|
||||
|
||||
static CatVar heal_steamid_perm(CV_SWITCH, "autoheal_steamid_only", 0, "Only heal target with steamid, set steamid to 0 to reset. (this does NOT set the target, it only sets it to never not heal the target.)");
|
||||
static CatCommand heal_steamid(
|
||||
"autoheal_heal_steamid",
|
||||
"Heals a player with SteamID (ONCE. Use for easy airstuck med setup)",
|
||||
@ -419,7 +420,8 @@ void CreateMove()
|
||||
GetHitbox(target, 7, out);
|
||||
AimAt(g_pLocalPlayer->v_Eye, out, g_pUserCmd);
|
||||
g_pUserCmd->buttons |= IN_ATTACK;
|
||||
force_healing_target = 0;
|
||||
if (!heal_steamid_perm)
|
||||
force_healing_target = 0;
|
||||
}
|
||||
}
|
||||
if (!enabled)
|
||||
|
Reference in New Issue
Block a user