Repository navigation
Expand file tree
/
Copy pathcheat_samp.h
More file actions
46 lines (38 loc) · 1.88 KB
/
Copy pathcheat_samp.h
File metadata and controls
46 lines (38 loc) · 1.88 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
/*
PROJECT: mod_sa
LICENSE: See LICENSE in the top level directory
COPYRIGHT: Copyright we_sux, BlastHack
mod_sa is available from https://github.com/BlastHackNet/mod_s0beit_sa/
mod_sa is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
mod_sa is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with mod_sa. If not, see <http://www.gnu.org/licenses/>.
*/
void sampMainCheat(void);
void sampAntiHijack(void);
void spectateHandle(void);
void spectatePlayer(int iPlayerID);
void HandleRPCPacketFunc(unsigned char id, struct RPCParameters *rpcParams, void(*callback) (struct RPCParameters *));
void initChatCmds(void);
bool OnSendRPC(int uniqueID, RakNet::BitStream *parameters, PacketPriority priority, PacketReliability reliability, char orderingChannel, bool shiftTimestamp);
bool OnSendPacket(RakNet::BitStream *parameters, PacketPriority priority, PacketReliability reliability, char orderingChannel);
bool OnReceivePacket(Packet *p);
void gen_rand_gpci(char *out);
int gen_rand_gpci(char buf[64], unsigned long factor);
void gen_random(char *s, const int len);
void gen_randomletter(char *s, const int len);
void gen_randomnumber(char *s, const int len);
void gen_randombinary(char *s, const int len);
void gen_randomuppercase(char *s, const int len);
void CheckReport();
extern int g_iSpectateEnabled;
extern int g_iCursorEnabled;
extern int g_iJoiningServer;
extern int g_iNumPlayersMuted;
extern bool g_bPlayerMuted[SAMP_MAX_PLAYERS];