Repository navigation
Expand file tree
/
Copy pathOverLight_Funcs.h
More file actions
237 lines (182 loc) · 4.13 KB
/
Copy pathOverLight_Funcs.h
File metadata and controls
237 lines (182 loc) · 4.13 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
#pragma once
#define VEHICLE_SYNC_IN_CAR 0
#define VEHICLE_SYNC_UNOCCUPIED 1
#define VEHICLE_SYNC_IN_CAR_RPC 2
struct stOL_Cheats
{
//stOL_Cheats(); <- because i used malloc
DWORD SendRateCarCheatTick;
DWORD SendRatePlayerCheatTick;
bool bIsVehCheatActive;
bool bWithoutDriver;
bool bCarShooter;
bool bFantozziCloud;
bool bFakeShooter;
bool bShooterOnce;
bool bFusRoDah;
bool bPickCar;
bool bInvisibleBike;
bool bInvisibleBike2;
bool bFixInvisibleFire;
bool bVehicleElevator;
bool bVehicleElevatorDown;
bool bVehicleGrabber;
bool bVehicleGrabberMap;
bool bGotPositionGrabber;
bool bGotPositionMapGrabber;
bool bTrailerGrabber;
int iTrailerMain;
bool bDoorStorm;
#ifdef OWNER
bool bSurfInvisible;
bool bSpecInvisible;
#endif
//crashers
bool bPlaneCrasher;
bool bVortexCrasher;
bool bPlaneCrasher2;
bool bVortexCrasher2;
bool bBulletCrasher;
bool bCarJackCrasher;
bool bDetonatorCrasher;
bool bStuntCrasher;
bool bHunterCrasher;
bool bVehicleBugger;
bool bAutoCBug;
bool bAutoShot;
bool bTeamFilter;
bool bFriendFilter;
bool bColorFilter;
bool bSkinFilter;
bool bVisibleFilter;
bool bAFKFilter;
bool bAlive;
bool bOutOfRange;
bool bKickPassenger;
bool bStealPassenger;
bool bNoFall;
bool bInvalidAimZ;
int iVehicleID;
int iSyncType;
bool bIsPlayerCheatActive;
bool bInvertWalk;
bool bInvertWalk2;
bool bFakeFPS;
bool bFakePing;
int iFPS;
bool bSlapper;
bool bSilentAim;
bool bShotWall;
bool bBypassAimAntiCheat;
bool bBypassAimAntiCheat2;
float fInaccurateAim;
bool bFakeLagSync;
DWORD dwTimeFakeLagSync;
DWORD dwTimeFakeLagDesync;
bool bSyncWhenAim;
bool bFakeLagSpeed;
float fMultiplierFakeSpeed;
bool bChams;
bool bPlayerHologram;
bool bVehicleHologram;
bool bAutoScroll;
bool bNoSpread;
bool bSlowAim;
float fSlowValue;
bool bOL_Crash;
bool bOL_VersionUpdate;
bool bRenderFinder;
bool bElevator;
bool bJetpackElevator;
bool bShotRepeater;
bool bRCON_Attack;
bool bRCON_Attack_State;
HANDLE hRCON;
bool bServerLag;
int iLimitMessages;
bool bJoinFlood;
bool bJoinFlood2;
int Target_PlayerID;
bool bUseNearestTarget;
int Target_Passenger_PlayerID;
float fColorChamsBehindWall[4];
float fColorChamsInFrontWall[4];
uint8_t ChamsTypeBehindWall;
uint8_t ChamsTypeInFrontWall;
//bool bUseWireFrameChamsBehindWall;
//bool bUseWireFrameChamsInFrontWall;
bool bFind;
char *WordFindChat;
int iCurrentFPS;
int iStickID;
bool bOL_Update;
bool bFontLoaded;
bool bAntiLoading;
bool bUseFriendTarget;
bool bUsersPrinted;
bool bPrintUsers;
bool bPrintFriends;
bool bPrintClock;
bool bPlayerTags;
bool bVehicleTags;
int ChatFontSize;
char ChatFontName[64];
int SmallFontSize;
char SmallFontName[64];
int FooterFontSize;
char FooterFontName[64];
int MenuFontSize;
char MenuFontName[64];
int NicknameFontSize;
char NicknameFontName[64];
bool bUseDarkTheme;
int iThemeColor[8];
bool bWheelWalk;
bool bAntiStun;
bool bSpectate;
int iSpectateID;
bool bShowOLChat;
bool bTranspBackGroundChat;
bool bSendNickname;
bool bSendServer;
bool bChangeGPCIa;
};
struct stMenuSettings
{
bool bPosInitalized;
float fMenuPos[2];
int iRowHeight;
int iMenuHeight;
int iLogoHeight;
};
struct stEnemyStats
{
//this for calculate the effective speed and something like a ping
int iPlayerOnFootTick[2];
float fPlayerPos[2][3];
};
enum LastTick
{
LAST,
SECOND_LAST
};
extern struct stMenuSettings MenuSettings;
extern struct stEnemyStats EnemyStats[SAMP_MAX_PLAYERS];
//extern stOL_Cheats *OLCheats;
extern std::list<std::string> overlight_list;
void OL_VehCheats();
int NearestPlayer();
int NearestPassenger();
int GetAimingPlayer(bool bFromWhenPress = true);
bool IsPlayerStreamed(uint16_t playerID);
int NextPlayer(int iplayerID, int increase);
int NextPlayerPassenger(int iplayerID, int increase);
void KickPassenger();
void StealPassenger();
bool GetPlayerQuaternion(uint16_t playerID, float* fQuaternion);
void OL_ChangeSettings(char *name, char *value);
void OL_CalculateLagPosition(int playerID, float fPos[3]);
void ChatOverLight();
void OL_Chat_Send(char *message);
void OL_ShowSuggestion(float x, float y);
void initialize_OL_Cheats();