-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAimBot.hpp
More file actions
42 lines (33 loc) · 693 Bytes
/
AimBot.hpp
File metadata and controls
42 lines (33 loc) · 693 Bytes
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
#pragma once
#include <Windows.h>
#include <vector>
#include <algorithm>
#include "Client.hpp"
#include "Engine.hpp"
#include "Offsets.hpp"
#include "Settings.hpp"
#include "BasePlayer.hpp"
#include "BaseCombatWeapon.hpp"
#include "Math.hpp"
#include "Skeleton.hpp"
#include "BoneVector.hpp"
#include "FlagsState.hpp"
#include "Helpers.hpp"
class AimBot {
private:
//aim
Skeleton bone = NEAREST;
float fov = 0;
float smooth = 0;
//rcs
bool rcsEnable = false;
float rcsScaleX = 0;
float rcsScaleY = 0;
Vector3 getBonePos(BasePlayer&, Skeleton);
Vector3 calcAngle(Vector3, Vector3);
float getFov(Vector3, Vector2);
void setAngle(Vector2);
public:
AimBot();
void loop();
};