forked from 0xcds4r/build69-gtasa2.0
-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.h
49 lines (41 loc) · 984 Bytes
/
main.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
46
47
48
49
#pragma once
//
// Powered by tapy.me/weikton
//
#include <jni.h>
#include <android/log.h>
#include <ucontext.h>
#include <pthread.h>
#include <malloc.h>
#include <cstdlib>
#include <stdlib.h>
#include <string>
#include <string.h>
#include <sstream>
#include <iostream>
#include <vector>
#include <list>
#include <cmath>
#include <thread>
#include <chrono>
#include <cstdarg>
#include <sys/mman.h>
#include <unistd.h>
#define SAMP_VERSION "0.3.7"
#define PORT_VERSION "1.0.0"
#define SRV_IP "54.38.117.77"
#define MAX_IP_LENGTH strlen(SRV_IP)
// #define DEBUG_MODE
#define MAX_PLAYERS 1004
#define MAX_VEHICLES 2000
#define MAX_PLAYER_NAME 24
#define RAKSAMP_CLIENT
#define NETCODE_CONNCOOKIELULZ 0x6969
#include "vendor/RakNet/SAMP/samp_netencr.h"
#include "vendor/RakNet/SAMP/SAMPRPC.h"
#include "util/util.h"
extern uintptr_t g_GTASAAdr, g_SCANDAdr;
void LOGI(const char *fmt, ...);
void FLog(const char *fmt, ...);
uint32_t GetTickCount();
const char* GetGameStorage();