-
Notifications
You must be signed in to change notification settings - Fork 2
/
SmartPhones.pwn
48 lines (38 loc) · 1.07 KB
/
SmartPhones.pwn
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
#define FILTERSCRIPT
#include <a_samp>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <colandreas>
#include <streamer>
#include <strlib>
enum E_PLAYER_DATA {
bool:hasPhone,
phoneNumber[12],
cellPlan,
minutes,
data,
bool:hasCellSignal, // Cell Data
bool:hasWifiSignal, // Wifi Data
}
new PlayerData[MAX_PLAYERS][E_PLAYER_DATA];
#include "SmartPhones\CellPhones.pwn"
#include "SmartPhones\CellPlans.pwn"
#include "SmartPhones\CellTowers.pwn"
#include "SmartPhones\WifiRouters.pwn"
#include "SmartPhones\FunctionHooks.pwn"
//#include "SmartPhones\Textdraws.pwn"
//#include "SmartPhones\Texting.pwn"
//#include "SmartPhones\Calling.pwn"
//#include "SmartPhones\DataWifi.pwn"
/* Function List
CreateCellTower
DestroyCellTower
GetPlayerCellSignal
CreateWifiRouter
DestroyWifiRouter
GetPlayerWifiSignal
*/
main() { // Compile Test
DestroyCellTower(CreateCellTower(1080, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 500.0));
DestroyWifiRouter(CreateWifiRouter(1080, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 500.0));
}