forked from SimpleRealistic/styles-cheat-csgo-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLegitBot.h
45 lines (36 loc) · 821 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
42
43
44
45
/*
Project X
*/
#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 AimAtPoint(Vector point, CUserCmd *pCmd, IClientEntity* pLocal, bool &bSendPacket);
void SyncWeaponSettings();
// Functionality
void DoAimbot(bool &bSendpacket, CUserCmd *pCmd);
bool TargetMeetsRequirements(IClientEntity * pEntity);
void DoTrigger(CUserCmd *pCmd);
float FovToPlayer(Vector ViewOffSet, Vector View, IClientEntity * pEntity, int aHitBox);
// Aimbot
bool IsLocked;
int TargetID;
int HitBox;
bool Multihitbox;
int besthitbox;
Vector AimPoint;
float Speed;
float FoV;
bool RecoilControl;
float RecoilAmountX;
float RecoilAmountY;
bool PSilent;
float Inacc;
};