-
Notifications
You must be signed in to change notification settings - Fork 2
/
LegitBot.h
41 lines (34 loc) · 832 Bytes
/
LegitBot.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
Syn's AyyWare Framework 2015
*/
#pragma once
#include "Hacks.h"
class CLegitBot : public CHack
{
public:
void Init();
void Draw();
void Move(CUserCmd *pCmd, bool &bSendPacket);
private:
// Targetting
int GetTargetCrosshair();
bool TargetMeetsRequirements(IClientEntity* pEntity);
float FovToPlayer(Vector ViewOffSet, Vector View, IClientEntity* pEntity, int HitBox);
int HitScan(IClientEntity* pEntity);
bool AimAtPoint(IClientEntity* pLocal, Vector point, CUserCmd *pCmd, bool &bSendPacket);
void SyncWeaponSettings();
// Functionality
void DoAimbot(CUserCmd *pCmd, bool &bSendpacket);
void DoTrigger(CUserCmd *pCmd);
void DoRecoilControl(CUserCmd *pCmd);
// Aimbot
bool IsLocked;
int TargetID;
int HitBox;
Vector AimPoint;
float Speed;
float FoV;
bool RecoilControl;
bool PSilent;
float Inacc;
};