Begin autoheal

This commit is contained in:
nullifiedcat 2016-12-03 13:27:56 +03:00
parent 6d3cea6683
commit af1333817c
3 changed files with 33 additions and 12 deletions

View File

@ -188,18 +188,6 @@ void hack::InitHacks() {
ADD_HACK(Triggerbot);
ADD_HACK(AutoSticky);
ADD_HACK(Airstuck);
/*hack::AddHack(g_phAutoStrafe = new AutoStrafe());
hack::AddHack(g_phAntiAim = new AntiAim());
hack::AddHack(g_phAntiDisguise = new AntiDisguise());
hack::AddHack(g_phAutoReflect = new AutoReflect());
hack::AddHack(g_phFollowBot = new FollowBot());
hack::AddHack(g_phMisc = new Misc());
hack::AddHack(g_phAimbot = new HAimbot());
hack::AddHack(g_phBunnyhop = new HBunnyhop());
hack::AddHack(g_phEsp = new HEsp());
hack::AddHack(g_phTrigger = new HTrigger());
hack::AddHack(g_phAutoSticky = new AutoSticky());
hack::AddHack(g_phAirstuck = new Airstuck());*/
}
void hack::Initialize() {

View File

@ -0,0 +1,12 @@
/*
* AutoHeal.cpp
*
* Created on: Dec 3, 2016
* Author: nullifiedcat
*/
#include "AutoHeal.h"
DEFINE_HACK_SINGLETON(AutoHeal);

21
uran/src/hacks/AutoHeal.h Normal file
View File

@ -0,0 +1,21 @@
/*
* AutoHeal.h
*
* Created on: Dec 3, 2016
* Author: nullifiedcat
*/
#ifndef HACKS_AUTOHEAL_H_
#define HACKS_AUTOHEAL_H_
#include "IHack.h"
class AutoHeal : public IHack {
public:
DECLARE_HACK_METHODS();
ConVar* v_bEnabled;
};
DECLARE_HACK_SINGLETON(AutoHeal);
#endif /* HACKS_AUTOHEAL_H_ */