├── .gitattributes
├── LICENSE
├── README.md
├── gamemodes
├── Idlewood_Projects.pwn
├── carparts.pwn
├── fire_department.pwn
├── police_map.pwn
└── script.pwn
├── libmysql.dll
├── pawno
├── include
│ ├── 3DTryg.inc
│ ├── EVF.inc
│ ├── Pawn.CMD.inc
│ ├── a_actor.inc
│ ├── a_http.inc
│ ├── a_mysql.inc
│ ├── a_npc.inc
│ ├── a_objects.inc
│ ├── a_players.inc
│ ├── a_samp.inc
│ ├── a_sampdb.inc
│ ├── a_vehicles.inc
│ ├── core.inc
│ ├── datagram.inc
│ ├── easyDialog.inc
│ ├── evi.inc
│ ├── file.inc
│ ├── float.inc
│ ├── foreach.inc
│ ├── foreach1.inc
│ ├── sscanf2.inc
│ ├── streamer.inc
│ ├── string.inc
│ ├── strlib.inc
│ └── time.inc
├── libpawnc.dll
├── new.pwn
├── pawn.ico
├── pawnc.dll
├── pawncc.exe
├── pawno.exe
└── settings.ini
├── plugins
├── mysql.dll
├── pawncmd.dll
├── sscanf.dll
└── streamer.dll
├── script
├── chemical_part.pwn
├── chemical_stock.pwn
├── drug_def.pwn
├── drugs_stock.pwn
└── interface.pwn
├── scriptfiles
└── handling.db
├── sql.sql
└── trucking_alpha.pwn
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Base Roleplay Edition
2 |
3 | Intro:
4 |
5 | a roleplay script that was plan to run in China.
6 |
7 | Quick set-up:
8 |
9 | In line 38, you can find SQL configuration there.
10 |
11 | Change them as your MySQL server configuration.
12 |
13 | - SQL_HOSTNAME "localhost"
14 | - SQL_USERNAME "root"
15 | - SQL_DATABASE "ls-rp"
16 | - SQL_PASSWORD "root"
17 |
18 | Feature / What's new?
19 |
20 | - B-RP features
21 | - Dealership rewrote, and semi fixed
22 | - Vehicle sys rewrote
23 | - Phone sys rewrote
24 | - SQL queries optimized
25 | - Visible object supported
26 | - Advertisement rewrote
27 | - MDC sys rewrote with a GUI support
28 | - Jobs added
29 | - restaurant sys
30 | - Trucking system, with dynamic industrial, shipping (This script was made in a FS, will upload later)
31 | - Dynamic Area / Street and with easy manage feature
32 | - Chemical system and dynamic drugs sys with much more features, better than LS-RP one's! real breaking bad environment
33 |
34 |
35 | TODO
36 | There are still have some bugs to fix, or to be finished.
37 |
38 | - Phone sys (It just a demo but I set up the functions, just do ur magic)
39 | - Housing sys (Furniture)
40 | - More, more..
41 |
42 |
--------------------------------------------------------------------------------
/gamemodes/Idlewood_Projects.pwn:
--------------------------------------------------------------------------------
1 | new tmpobjid;
2 | stock CreateIdlewood()
3 | {
4 | tmpobjid = CreateDynamicObject(3617, 2071.009521, -1586.338500, 15.151403, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
5 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
6 | SetDynamicObjectMaterial(tmpobjid, 4, 17298, "weefarmcuntw", "sjmbigold3", 0x00000000);
7 | SetDynamicObjectMaterial(tmpobjid, 7, 14789, "ab_sfgymmain", "ab_wood02", 0x00000000);
8 | SetDynamicObjectMaterial(tmpobjid, 8, 3629, "arprtxxref_las", "ws_corrugateddoor1", 0x00000000);
9 | SetDynamicObjectMaterial(tmpobjid, 10, 6404, "beafron1_law2", "shingledblue_la", 0x00000000);
10 | tmpobjid = CreateDynamicObject(3617, 2069.499511, -1557.485839, 15.151403, 0.000000, 0.000000, 360.000000, -1, -1, -1, 300.00, 300.00);
11 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
12 | SetDynamicObjectMaterial(tmpobjid, 4, 17298, "weefarmcuntw", "sjmbigold3", 0x00000000);
13 | SetDynamicObjectMaterial(tmpobjid, 7, 14789, "ab_sfgymmain", "ab_wood02", 0x00000000);
14 | SetDynamicObjectMaterial(tmpobjid, 8, 3629, "arprtxxref_las", "ws_corrugateddoor1", 0x00000000);
15 | SetDynamicObjectMaterial(tmpobjid, 10, 6404, "beafron1_law2", "shingledblue_la", 0x00000000);
16 | tmpobjid = CreateDynamicObject(19452, 2082.623535, -1571.914184, 12.313583, 0.164998, 90.311988, 90.000000, -1, -1, -1, 300.00, 300.00);
17 | SetDynamicObjectMaterial(tmpobjid, 0, 9515, "bigboxtemp1", "tarmacplain_bank", 0x00000000);
18 | tmpobjid = CreateDynamicObject(19452, 2072.992431, -1571.914184, 12.341583, 0.164998, 90.311988, 90.000000, -1, -1, -1, 300.00, 300.00);
19 | SetDynamicObjectMaterial(tmpobjid, 0, 9515, "bigboxtemp1", "tarmacplain_bank", 0x00000000);
20 | tmpobjid = CreateDynamicObject(19452, 2082.138916, -1578.478149, 12.354583, 0.367998, 89.883003, 180.000000, -1, -1, -1, 300.00, 300.00);
21 | SetDynamicObjectMaterial(tmpobjid, 0, 9515, "bigboxtemp1", "tarmacplain_bank", 0x00000000);
22 | tmpobjid = CreateDynamicObject(19452, 2060.293212, -1565.351684, 12.371570, -0.012001, 89.842994, 180.000000, -1, -1, -1, 300.00, 300.00);
23 | SetDynamicObjectMaterial(tmpobjid, 0, 9515, "bigboxtemp1", "tarmacplain_bank", 0x00000000);
24 | tmpobjid = CreateDynamicObject(19452, 2063.360107, -1571.914184, 12.371582, 0.164998, 90.311988, 90.000000, -1, -1, -1, 300.00, 300.00);
25 | SetDynamicObjectMaterial(tmpobjid, 0, 9515, "bigboxtemp1", "tarmacplain_bank", 0x00000000);
26 | tmpobjid = CreateDynamicObject(970, 2066.521484, -1581.656005, 15.573535, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
27 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
28 | tmpobjid = CreateDynamicObject(970, 2070.695556, -1581.656005, 15.573535, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
29 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
30 | tmpobjid = CreateDynamicObject(970, 2074.870605, -1581.656005, 15.573535, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
31 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
32 | tmpobjid = CreateDynamicObject(970, 2065.637451, -1562.172851, 15.573535, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
33 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
34 | tmpobjid = CreateDynamicObject(970, 2069.811523, -1562.172851, 15.573535, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
35 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
36 | tmpobjid = CreateDynamicObject(970, 2073.986572, -1562.172851, 15.573535, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
37 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
38 | tmpobjid = CreateDynamicObject(1438, 2080.607421, -1585.011718, 12.458246, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
39 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
40 | tmpobjid = CreateDynamicObject(3005, 2080.099365, -1585.783813, 12.486673, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
41 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
42 | tmpobjid = CreateDynamicObject(1490, 2077.620849, -1562.189697, 14.304682, 0.000000, 0.000000, 450.000000, -1, -1, -1, 300.00, 300.00);
43 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
44 | tmpobjid = CreateDynamicObject(18659, 2074.669433, -1562.195434, 14.170728, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
45 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
46 | tmpobjid = CreateDynamicObject(1490, 2078.589355, -1554.008666, 14.268844, -0.000007, -0.000301, 179.999511, -1, -1, -1, 300.00, 300.00);
47 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
48 | tmpobjid = CreateDynamicObject(18659, 2078.595214, -1560.376342, 13.506567, -36.000007, -0.000301, 179.999511, -1, -1, -1, 300.00, 300.00);
49 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
50 | tmpobjid = CreateDynamicObject(1415, 2080.101318, -1589.012939, 12.503662, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
51 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
52 | tmpobjid = CreateDynamicObject(3594, 2060.593261, -1579.326904, 13.071472, 0.000000, 0.000000, 135.000000, -1, -1, -1, 300.00, 300.00);
53 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
54 | tmpobjid = CreateDynamicObject(1440, 2079.259277, -1560.704467, 12.847057, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
55 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
56 | tmpobjid = CreateDynamicObject(1712, 2079.113525, -1557.953979, 12.309977, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
57 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
58 | tmpobjid = CreateDynamicObject(1712, 2080.113525, -1554.854003, 12.309977, 0.000000, 0.000000, 30.000000, -1, -1, -1, 300.00, 300.00);
59 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
60 | tmpobjid = CreateDynamicObject(947, 2092.394287, -1554.798339, 14.274282, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
61 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
62 | tmpobjid = CreateDynamicObject(947, 2092.394287, -1566.798339, 14.332290, 0.000000, 0.000000, 360.000000, -1, -1, -1, 300.00, 300.00);
63 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
64 | tmpobjid = CreateDynamicObject(2571, 2068.873779, -1592.627685, 12.530122, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
65 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
66 | tmpobjid = CreateDynamicObject(2114, 2093.594482, -1555.080078, 12.229083, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
67 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
68 | tmpobjid = CreateDynamicObject(1712, 2073.264648, -1591.603881, 12.309977, 0.000000, -0.000007, -0.000038, -1, -1, -1, 300.00, 300.00);
69 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
70 | tmpobjid = CreateDynamicObject(792, 2079.712646, -1574.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
71 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
72 | tmpobjid = CreateDynamicObject(1437, 2064.307128, -1592.334228, 13.099615, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
73 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
74 | tmpobjid = CreateDynamicObject(19914, 2070.065917, -1591.863403, 13.093358, 0.000000, 0.000000, -45.000000, -1, -1, -1, 300.00, 300.00);
75 | SetDynamicObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "cof_wood2", 0xFFFFFFFF);
76 | tmpobjid = CreateDynamicObject(1483, 2072.235107, -1592.830078, 14.264867, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
77 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
78 | tmpobjid = CreateDynamicObject(792, 2075.212646, -1574.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
79 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
80 | tmpobjid = CreateDynamicObject(792, 2070.712646, -1574.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
81 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
82 | tmpobjid = CreateDynamicObject(792, 2066.212646, -1574.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
83 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
84 | tmpobjid = CreateDynamicObject(792, 2061.712646, -1574.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
85 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
86 | tmpobjid = CreateDynamicObject(792, 2077.462646, -1569.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
87 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
88 | tmpobjid = CreateDynamicObject(792, 2072.962646, -1569.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
89 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
90 | tmpobjid = CreateDynamicObject(792, 2068.462646, -1569.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
91 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
92 | tmpobjid = CreateDynamicObject(792, 2063.962646, -1569.381225, 12.823928, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
93 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
94 | tmpobjid = CreateDynamicObject(12991, 2057.851074, -1542.633056, 12.437704, 0.000000, 0.000000, 540.000000, -1, -1, -1, 300.00, 300.00);
95 | SetDynamicObjectMaterial(tmpobjid, 0, -1, "none", "none", 0xFFFFFFFF);
96 | SetDynamicObjectMaterial(tmpobjid, 1, 14581, "ab_mafiasuitea", "cof_wood2", 0x00000000);
97 | tmpobjid = CreateDynamicObject(19425, 2094.975585, -1599.661254, 12.365947, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
98 | tmpobjid = CreateDynamicObject(19425, 2089.975585, -1599.661254, 12.365947, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
99 | }
100 |
101 | stock RemoveIdlewoodBuilding(playerid)
102 | {
103 | RemoveBuildingForPlayer(playerid, 3644, 2069.620, -1556.699, 15.062, 0.250);
104 | RemoveBuildingForPlayer(playerid, 3645, 2069.620, -1556.699, 15.062, 0.250);
105 | RemoveBuildingForPlayer(playerid, 3644, 2070.760, -1586.020, 15.062, 0.250);
106 | RemoveBuildingForPlayer(playerid, 3645, 2070.760, -1586.020, 15.062, 0.250);
107 | RemoveBuildingForPlayer(playerid, 1524, 2074.179, -1579.150, 14.031, 0.250);
108 | RemoveBuildingForPlayer(playerid, 1412, 2055.270, -1594.229, 13.765, 0.250);
109 | RemoveBuildingForPlayer(playerid, 1412, 2055.270, -1599.500, 13.765, 0.250);
110 | RemoveBuildingForPlayer(playerid, 1412, 2058.050, -1602.229, 13.765, 0.250);
111 | RemoveBuildingForPlayer(playerid, 1412, 2063.330, -1602.229, 13.765, 0.250);
112 | RemoveBuildingForPlayer(playerid, 1412, 2078.489, -1602.229, 13.765, 0.250);
113 | RemoveBuildingForPlayer(playerid, 1412, 2083.770, -1602.229, 13.765, 0.250);
114 | RemoveBuildingForPlayer(playerid, 1412, 2086.459, -1599.589, 13.765, 0.250);
115 | RemoveBuildingForPlayer(playerid, 1412, 2086.459, -1594.319, 13.765, 0.250);
116 | }
117 |
118 |
--------------------------------------------------------------------------------
/gamemodes/fire_department.pwn:
--------------------------------------------------------------------------------
1 | new fd_wall[52];
2 |
3 | stock RemoveFireDepartment(playerid)
4 | {
5 | RemoveBuildingForPlayer(playerid, 1297, 2278.5469, -1544.1797, 29.0938, 0.25);
6 | RemoveBuildingForPlayer(playerid, 1297, 2278.5469, -1512.9609, 29.0938, 0.25);
7 | RemoveBuildingForPlayer(playerid, 946, 2290.6406, -1541.6094, 28.0703, 0.25);
8 | RemoveBuildingForPlayer(playerid, 946, 2290.5781, -1514.2734, 28.0469, 0.25);
9 | RemoveBuildingForPlayer(playerid, 1297, 2300.3672, -1544.1797, 29.0938, 0.25);
10 | RemoveBuildingForPlayer(playerid, 1297, 2300.3672, -1512.9609, 29.0938, 0.25);
11 | RemoveBuildingForPlayer(playerid, 1297, 2305.5859, -1512.9609, 27.2188, 0.25);
12 | RemoveBuildingForPlayer(playerid, 1297, 2305.5859, -1544.1797, 27.2188, 0.25);
13 | RemoveBuildingForPlayer(playerid, 946, 2316.9375, -1541.6094, 26.5000, 0.25);
14 | RemoveBuildingForPlayer(playerid, 946, 2316.9375, -1514.2734, 26.5000, 0.25);
15 | RemoveBuildingForPlayer(playerid, 1297, 2337.8125, -1523.8281, 26.2266, 0.25);
16 | RemoveBuildingForPlayer(playerid, 1297, 2327.4063, -1544.1797, 27.2188, 0.25);
17 | RemoveBuildingForPlayer(playerid, 1297, 2327.4063, -1512.9609, 27.2188, 0.25);
18 | }
19 |
20 | stock CreateFireDepartment()
21 | {
22 | // NEW FIRE DEPARTMENT
23 | CreateDynamicObject(19791, 2328.77686, -1515.69995, 13.91983, 0.00000, 10.00000, 0.00000);
24 | CreateDynamicObject(19791, 2328.77686, -1525.69995, 13.91980, 0.00000, 10.00000, 0.00000);
25 | CreateDynamicObject(19791, 2328.77686, -1535.69995, 13.91980, 0.00000, 10.00000, 0.00000);
26 | CreateDynamicObject(19791, 2328.77686, -1545.69995, 13.91980, 0.00000, 10.00000, 0.00000);
27 | CreateDynamicObject(19791, 2320.58667, -1515.69995, 14.63260, 0.00000, 0.00000, 0.20100);
28 | CreateDynamicObject(19791, 2320.58667, -1525.69995, 14.63260, 0.00000, 0.00000, 0.20100);
29 | CreateDynamicObject(19791, 2320.58667, -1535.69995, 14.63260, 0.00000, 0.00000, 0.20100);
30 | CreateDynamicObject(19791, 2320.58667, -1545.69995, 14.63260, 0.00000, 0.00000, 0.20100);
31 | CreateDynamicObject(19791, 2310.58667, -1515.69995, 14.63260, 0.00000, 0.00000, 0.20100);
32 | CreateDynamicObject(19791, 2310.56665, -1525.70129, 14.63260, 0.00000, 0.00000, 0.20100);
33 | CreateDynamicObject(19791, 2310.58667, -1535.69995, 14.63260, 0.00000, 0.00000, 0.20100);
34 | CreateDynamicObject(19791, 2310.58667, -1545.69995, 14.63260, 0.00000, 0.00000, 0.20100);
35 | CreateDynamicObject(8581, 2294.63599, -1528.11401, 30.95190, 0.00000, 0.00000, -90.00000);
36 | CreateDynamicObject(8581, 2294.65967, -1528.10889, 30.93190, 0.00000, 0.00000, 90.00000);
37 | CreateDynamicObject(8581, 2283.95581, -1530.46667, 30.97190, 0.00000, 0.00000, -90.00000);
38 | CreateDynamicObject(8581, 2283.99023, -1530.45947, 30.93190, 0.00000, 0.00000, 90.00000);
39 | CreateDynamicObject(621, 2295.69116, -1549.05127, 22.58316, 0.00000, 0.00000, 0.00000);
40 | CreateDynamicObject(621, 2303.25464, -1546.98718, 20.38125, 0.00000, 0.00000, 0.00000);
41 | CreateDynamicObject(2948, 2297.01294, -1510.59912, 25.85350, 0.00000, 0.00000, 90.00000);
42 | CreateDynamicObject(2948, 2298.92529, -1510.58911, 25.85350, 0.00000, 0.00000, -90.00000);
43 | CreateDynamicObject(14469, 2282.78760, -1511.90234, 26.44890, 0.00000, 0.00000, 0.00000);
44 | CreateDynamicObject(14469, 2277.68579, -1511.59106, 26.44890, 0.00000, 0.00000, 0.00000);
45 | CreateDynamicObject(3034, 2300.63574, -1510.56189, 31.77940, 0.00000, 0.00000, 180.00000);
46 | CreateDynamicObject(3034, 2288.03564, -1510.56189, 31.77940, 0.00000, 0.00000, 180.00000);
47 | CreateDynamicObject(3034, 2294.23560, -1510.56189, 31.77940, 0.00000, 0.00000, 180.00000);
48 | CreateDynamicObject(11245, 2297.49170, -1509.08801, 32.12990, 0.00000, -14.00000, 90.00000);
49 | CreateDynamicObject(3034, 2280.22168, -1512.91675, 31.77940, 0.00000, 0.00000, 180.00000);
50 | CreateDynamicObject(14469, 2329.98071, -1496.44055, 23.34250, 0.00000, 0.00000, 45.18060);
51 | CreateDynamicObject(19791, 2298.07788, -1540.33923, 26.05730, 0.00000, 0.00000, 0.20100);
52 | CreateDynamicObject(19791, 2288.07788, -1540.33923, 26.05730, 0.00000, 0.00000, 0.20100);
53 | CreateDynamicObject(19791, 2280.17798, -1540.33923, 26.04730, 0.00000, 0.00000, 0.20100);
54 | CreateDynamicObject(19791, 2298.07788, -1530.33923, 26.05730, 0.00000, 0.00000, 0.20100);
55 | CreateDynamicObject(19791, 2298.07788, -1520.33923, 26.05730, 0.00000, 0.00000, 0.20100);
56 | CreateDynamicObject(19791, 2288.07788, -1530.33923, 26.05730, 0.00000, 0.00000, 0.20100);
57 | CreateDynamicObject(19791, 2288.07788, -1520.33923, 26.05730, 0.00000, 0.00000, 0.20100);
58 | CreateDynamicObject(19791, 2280.17798, -1530.33923, 26.04730, 0.00000, 0.00000, 0.20100);
59 | CreateDynamicObject(19791, 2280.17798, -1520.33923, 26.04730, 0.00000, 0.00000, 0.20100);
60 | CreateDynamicObject(19791, 2290.70435, -1515.67468, 26.06730, 0.00000, 0.00000, 0.20100);
61 | CreateDynamicObject(1635, 2298.39600, -1546.23438, 32.79228, 0.00000, 0.00000, 90.00000);
62 | CreateDynamicObject(1687, 2301.00879, -1513.10242, 35.72760, 0.00000, 0.00000, 90.00000);
63 | CreateDynamicObject(1687, 2297.74756, -1513.13660, 35.72760, 0.00000, 0.00000, 90.00000);
64 | CreateDynamicObject(1232, 2319.98535, -1507.09509, 28.30576, 0.00000, 0.00000, 0.00000);
65 | CreateDynamicObject(1232, 2309.39136, -1507.09314, 28.30576, 0.00000, 0.00000, 0.00000);
66 | CreateDynamicObject(1232, 2286.28760, -1507.06726, 28.30576, 0.00000, 0.00000, 0.00000);
67 | CreateDynamicObject(1232, 2276.57129, -1507.26489, 28.30576, 0.00000, 0.00000, 0.00000);
68 | fd_wall[36] = CreateDynamicObject(19428, 2321.45898, -1548.51868, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
69 | fd_wall[37] = CreateDynamicObject(19428, 2321.45898, -1548.51868, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
70 | fd_wall[38] = CreateDynamicObject(19447, 2316.72412, -1549.23633, 26.66840, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
71 | fd_wall[39] = CreateDynamicObject(19428, 2321.45898, -1542.38269, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
72 | fd_wall[40] = CreateDynamicObject(19428, 2321.45898, -1542.38269, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
73 | fd_wall[41] = CreateDynamicObject(19447, 2316.72412, -1549.23633, 23.16800, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
74 | fd_wall[42] = CreateDynamicObject(19355, 2323.14160, -1541.67249, 26.66840, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
75 | fd_wall[43] = CreateDynamicObject(19355, 2323.14160, -1541.67249, 23.16800, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
76 | fd_wall[44] = CreateDynamicObject(19428, 2324.66064, -1540.78320, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
77 | fd_wall[45] = CreateDynamicObject(19428, 2324.66064, -1540.78320, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
78 | fd_wall[46] = CreateDynamicObject(19428, 2324.66064, -1534.64917, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
79 | fd_wall[47] = CreateDynamicObject(19428, 2324.66064, -1534.64917, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
80 | fd_wall[48] = CreateDynamicObject(19428, 2324.66064, -1528.51917, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
81 | fd_wall[49] = CreateDynamicObject(19428, 2324.66064, -1528.51917, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
82 | fd_wall[50] = CreateDynamicObject(19447, 2319.92700, -1519.89856, 26.66840, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
83 | fd_wall[51] = CreateDynamicObject(19355, 2324.66064, -1521.58447, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
84 | fd_wall[1] = CreateDynamicObject(19355, 2324.66064, -1521.58447, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
85 | fd_wall[2] = CreateDynamicObject(19447, 2319.92700, -1519.89856, 23.16800, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
86 | fd_wall[3] = CreateDynamicObject(19447, 2310.29688, -1549.23804, 26.66840, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
87 | fd_wall[4] = CreateDynamicObject(19447, 2310.29688, -1549.23804, 23.16800, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
88 | fd_wall[5] = CreateDynamicObject(19447, 2310.29688, -1519.89856, 26.66840, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
89 | fd_wall[6] = CreateDynamicObject(19447, 2310.29688, -1519.89856, 23.16800, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
90 | fd_wall[7] = CreateDynamicObject(19447, 2305.57520, -1544.34424, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
91 | fd_wall[8] = CreateDynamicObject(19447, 2305.57520, -1544.34424, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
92 | fd_wall[9] = CreateDynamicObject(19447, 2305.57593, -1534.71423, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
93 | fd_wall[10] = CreateDynamicObject(19447, 2305.57520, -1534.71423, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
94 | fd_wall[11] = CreateDynamicObject(19447, 2305.57593, -1525.08423, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
95 | fd_wall[12] = CreateDynamicObject(19447, 2305.57520, -1525.08423, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
96 | fd_wall[13] = CreateDynamicObject(19428, 2305.57690, -1520.67566, 23.16800, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
97 | fd_wall[14] = CreateDynamicObject(19428, 2305.57690, -1520.67566, 26.66840, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
98 | fd_wall[15] = CreateDynamicObject(19447, 2300.66699, -1519.89856, 30.16760, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
99 | fd_wall[16] = CreateDynamicObject(19447, 2300.66699, -1519.89856, 23.16800, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
100 | fd_wall[17] = CreateDynamicObject(19447, 2300.66699, -1519.89856, 26.66840, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
101 | fd_wall[18] = CreateDynamicObject(19447, 2305.57593, -1525.08423, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
102 | fd_wall[19] = CreateDynamicObject(19428, 2305.57690, -1520.67566, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
103 | fd_wall[20] = CreateDynamicObject(19447, 2305.57593, -1534.71423, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
104 | fd_wall[21] = CreateDynamicObject(19447, 2305.57520, -1544.34424, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
105 | fd_wall[22] = CreateDynamicObject(19447, 2310.29688, -1549.23804, 30.16760, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
106 | fd_wall[23] = CreateDynamicObject(19447, 2316.72412, -1549.23633, 30.16760, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
107 | fd_wall[24] = CreateDynamicObject(19447, 2310.29688, -1519.89856, 30.16760, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
108 | fd_wall[25] = CreateDynamicObject(19447, 2319.92700, -1519.89856, 30.16760, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
109 | fd_wall[26] = CreateDynamicObject(19447, 2324.66064, -1524.63086, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
110 | fd_wall[27] = CreateDynamicObject(19447, 2324.66064, -1534.26086, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
111 | fd_wall[28] = CreateDynamicObject(19355, 2324.67065, -1540.14746, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
112 | fd_wall[29] = CreateDynamicObject(19355, 2323.14160, -1541.67249, 30.16760, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
113 | fd_wall[30] = CreateDynamicObject(19355, 2321.45898, -1546.11389, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
114 | fd_wall[31] = CreateDynamicObject(19428, 2321.45898, -1548.51868, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
115 | fd_wall[32] = CreateDynamicObject(19355, 2321.46899, -1543.19385, 30.16760, 0.00000, 0.00000, 0.00000, -1, -1, -1, 250.00, 250.00);
116 | fd_wall[33] = CreateDynamicObject(19447, 2300.72168, -1545.56250, 26.66840, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
117 | fd_wall[34] = CreateDynamicObject(19447, 2300.72168, -1545.56250, 23.16800, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
118 | fd_wall[35] = CreateDynamicObject(19447, 2300.72168, -1545.56250, 30.16760, 0.00000, 0.00000, 90.00000, -1, -1, -1, 250.00, 250.00);
119 | CreateDynamicObject(1635, 2313.83496, -1549.91479, 29.24914, 0.00000, 0.00000, 90.00000);
120 | CreateDynamicObject(1635, 2308.19507, -1549.91479, 29.24910, 0.00000, 0.00000, 90.00000);
121 | CreateDynamicObject(19377, 2319.34521, -1524.79724, 31.83230, 0.00000, 90.00000, 0.00000);
122 | CreateDynamicObject(19377, 2319.34521, -1536.78870, 31.83230, 0.00000, 90.00000, 0.00000);
123 | CreateDynamicObject(19377, 2308.84521, -1524.79724, 31.83230, 0.00000, 90.00000, 0.00000);
124 | CreateDynamicObject(19377, 2308.84521, -1536.78870, 31.83230, 0.00000, 90.00000, 0.00000);
125 | CreateDynamicObject(19377, 2308.84521, -1530.85376, 31.85230, 0.00000, 90.00000, 0.00000);
126 | CreateDynamicObject(19377, 2319.34521, -1530.85376, 31.85230, 0.00000, 90.00000, 0.00000);
127 | CreateDynamicObject(19377, 2316.20996, -1544.38257, 31.85230, 0.00000, 90.00000, 0.00000);
128 | CreateDynamicObject(19377, 2310.74683, -1544.39502, 31.84230, 0.00000, 90.00000, 0.00000);
129 | CreateDynamicObject(19377, 2300.26099, -1540.75269, 31.84230, 0.00000, 90.00000, 0.00000);
130 | CreateDynamicObject(1687, 2313.67969, -1539.58594, 32.63800, 0.00000, 0.00000, 0.00000);
131 | CreateDynamicObject(1687, 2313.67969, -1528.29187, 32.63803, 0.00000, 0.00000, 0.00000);
132 | CreateDynamicObject(2653, 2313.88916, -1523.94604, 31.07910, 0.00000, 180.00000, 0.00000);
133 | CreateDynamicObject(2653, 2309.58057, -1534.14294, 31.07910, 0.00000, 180.00000, 90.00000);
134 | CreateDynamicObject(2653, 2313.89111, -1531.83008, 31.07910, 0.00000, 180.00000, 0.00000);
135 | CreateDynamicObject(2653, 2313.89111, -1539.69897, 31.07910, 0.00000, 180.00000, 0.00000);
136 | CreateDynamicObject(2653, 2313.88110, -1545.38000, 31.07910, 0.00000, 180.00000, 0.00000);
137 | CreateDynamicObject(2986, 2314.22070, -1534.18335, 30.35590, 0.00000, 0.00000, 0.00000);
138 | CreateDynamicObject(1498, 2306.27686, -1519.97217, 24.62630, 0.00000, 0.00000, 0.00000);
139 | CreateDynamicObject(1498, 2306.27686, -1519.87219, 24.62630, 0.00000, 0.00000, 0.00000);
140 | CreateDynamicObject(1535, 2305.67065, -1534.95227, 24.62750, 0.00000, 0.00000, 90.00000);
141 | CreateDynamicObject(2567, 2306.75439, -1546.52576, 26.49260, 0.00000, 0.00000, 90.00000);
142 | CreateDynamicObject(2567, 2306.75439, -1541.18579, 26.49260, 0.00000, 0.00000, 90.00000);
143 | CreateDynamicObject(1348, 2306.81421, -1538.14966, 25.30640, 0.00000, 0.00000, 0.00000);
144 | CreateDynamicObject(19815, 2305.67407, -1530.04773, 26.35043, 0.00000, 0.00000, 90.00000);
145 | CreateDynamicObject(19816, 2305.83667, -1532.14099, 24.88290, 0.00000, 0.00000, 0.00000);
146 | CreateDynamicObject(19816, 2305.83667, -1532.32104, 24.88290, 0.00000, 0.00000, 0.00000);
147 | CreateDynamicObject(19816, 2305.83667, -1532.50098, 24.88290, 0.00000, 0.00000, 0.00000);
148 | CreateDynamicObject(19816, 2305.83667, -1532.68103, 24.88290, 0.00000, 0.00000, 0.00000);
149 | CreateDynamicObject(19816, 2305.99658, -1532.60095, 24.88290, 0.00000, 0.00000, 0.00000);
150 | CreateDynamicObject(19816, 2305.99658, -1532.40100, 24.88290, 0.00000, 0.00000, 0.00000);
151 | CreateDynamicObject(19816, 2305.99658, -1532.22095, 24.88290, 0.00000, 0.00000, 0.00000);
152 | CreateDynamicObject(19810, 2308.11328, -1519.80835, 25.96690, 0.00000, 0.00000, 0.00000);
153 | CreateDynamicObject(1211, 2334.97778, -1506.10352, 23.49794, 0.00000, 0.00000, 0.00000);
154 | CreateDynamicObject(1211, 2334.96191, -1552.42346, 23.49794, 0.00000, 0.00000, 0.00000);
155 | CreateDynamicObject(1211, 2320.79199, -1491.60645, 23.29790, 0.00000, 0.00000, 90.00000);
156 | CreateDynamicObject(1211, 2287.17798, -1491.61401, 22.48780, 0.00000, 0.00000, 90.00000);
157 | CreateDynamicObject(1297, 2335.71387, -1518.95435, 26.26371, 0.00000, 0.00000, 180.00000);
158 | CreateDynamicObject(1297, 2335.69067, -1534.75537, 26.26371, 0.00000, 0.00000, 180.00000);
159 | CreateDynamicObject(1297, 2335.62891, -1550.61890, 26.26371, 0.00000, 0.00000, 180.00000);
160 | CreateDynamicObject(19430, 2312.20679, -1518.43408, 23.84390, 90.00000, 90.00000, 55.91340);
161 | CreateDynamicObject(19430, 2308.65869, -1518.46179, 23.84390, 90.00000, 90.00000, 55.91340);
162 | CreateDynamicObject(19430, 2315.57837, -1518.44092, 23.84390, 90.00000, 90.00000, 55.91340);
163 | CreateDynamicObject(19430, 2319.10620, -1518.41028, 23.84390, 90.00000, 90.00000, 55.91340);
164 | CreateDynamicObject(19430, 2322.70239, -1518.41040, 23.84390, 90.00000, 90.00000, 55.91340);
165 | CreateDynamicObject(19430, 2309.79956, -1516.78125, 23.83390, 90.00000, 90.00000, 55.91340);
166 | CreateDynamicObject(19430, 2313.28467, -1516.84106, 23.83390, 90.00000, 90.00000, 55.91340);
167 | CreateDynamicObject(19430, 2316.67578, -1516.82520, 23.83390, 90.00000, 90.00000, 55.91340);
168 | CreateDynamicObject(19430, 2320.18359, -1516.81641, 23.83390, 90.00000, 90.00000, 55.91340);
169 | CreateDynamicObject(19430, 2323.71069, -1516.92285, 23.83390, 90.00000, 90.00000, 55.91340);
170 | CreateDynamicObject(19865, 2329.81226, -1550.73352, 22.58390, 6.00000, 0.00000, 90.00000);
171 | CreateDynamicObject(19865, 2324.97241, -1550.73645, 22.90490, 2.00000, 0.00000, 90.00000);
172 | CreateDynamicObject(19865, 2320.03223, -1550.73450, 22.98490, 0.00000, 0.00000, 90.00000);
173 | CreateDynamicObject(19865, 2315.03223, -1550.73450, 22.98490, 0.00000, 0.00000, 90.00000);
174 | CreateDynamicObject(19865, 2310.03223, -1550.73450, 22.98490, 0.00000, 0.00000, 90.00000);
175 | CreateDynamicObject(19865, 2305.03223, -1550.73450, 22.98490, 0.00000, 0.00000, 90.00000);
176 | CreateDynamicObject(19865, 2300.06909, -1550.27942, 22.98490, 0.00000, 0.00000, 79.53068);
177 | //CreateDynamicObject(11453, 2330.52515, -1496.05225, 24.93609, 0.00000, 0.00000, 42.91982);
178 | CreateDynamicObject(8990, 2305.16675, -1511.45337, 25.22185, 0.00000, 0.00000, 0.00000);
179 | CreateDynamicObject(8990, 2304.09375, -1518.61133, 25.22190, 0.00000, 0.00000, 90.00000);
180 | CreateDynamicObject(8990, 2304.77881, -1518.87524, 24.91490, 0.00000, 0.00000, -90.00000);
181 | new fdst9sign = CreateDynamicObject(11453, 2330.52515, -1496.05225, 24.93609, 0.00000, 0.00000, 42.91982);
182 | SetDynamicObjectMaterialText(fdst9sign, 1, "{FFFFFF}LOS SANTOS\nFIRE DEPARTMENT\n\n{8F6B00}- STATION 9 -\n\n\n\n\n\n\n", 140, "Arial", 48, 1, 0xFF800000, 0xFF800000, 1);
183 |
184 | for(new i=0; i < sizeof(fd_wall); i++) {
185 |
186 | SetDynamicObjectMaterial(fd_wall[i], 0, 8581, "vgsebuild02", "newall11-1");
187 |
188 | }
189 | }
190 |
--------------------------------------------------------------------------------
/gamemodes/script.pwn:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hookmethods/Base-Roleplay-Edition/afbf224fac33666c7698730dd4c189256c80ffa9/gamemodes/script.pwn
--------------------------------------------------------------------------------
/libmysql.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hookmethods/Base-Roleplay-Edition/afbf224fac33666c7698730dd4c189256c80ffa9/libmysql.dll
--------------------------------------------------------------------------------
/pawno/include/3DTryg.inc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hookmethods/Base-Roleplay-Edition/afbf224fac33666c7698730dd4c189256c80ffa9/pawno/include/3DTryg.inc
--------------------------------------------------------------------------------
/pawno/include/EVF.inc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hookmethods/Base-Roleplay-Edition/afbf224fac33666c7698730dd4c189256c80ffa9/pawno/include/EVF.inc
--------------------------------------------------------------------------------
/pawno/include/Pawn.CMD.inc:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License (MIT)
3 | *
4 | * Copyright (c) 2016 urShadow
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | */
24 |
25 | #if !defined PAWNCMD_INC_
26 | #define PAWNCMD_INC_
27 |
28 | #define PAWNCMD_INCLUDE_VERSION 314
29 |
30 | #if !defined __cplusplus
31 | public _pawncmd_version = PAWNCMD_INCLUDE_VERSION;
32 | #pragma unused _pawncmd_version
33 |
34 | public bool:_pawncmd_is_gamemode = !defined FILTERSCRIPT;
35 | #pragma unused _pawncmd_is_gamemode
36 |
37 | native PC_RegAlias(const cmd[], const alias[], ...);
38 | native PC_SetFlags(const cmd[], flags);
39 | native PC_GetFlags(const cmd[]);
40 | native PC_EmulateCommand(playerid, const cmdtext[]);
41 | native PC_RenameCommand(const cmd[], const newname[]);
42 | native PC_CommandExists(const cmd[]);
43 | native PC_DeleteCommand(const cmd[]);
44 |
45 | native CmdArray:PC_GetCommandArray();
46 | native CmdArray:PC_GetAliasArray(const cmd[]);
47 | native PC_GetArraySize(CmdArray:arr);
48 | native PC_FreeArray(&CmdArray:arr);
49 | native PC_GetCommandName(CmdArray:arr, index, dest[], size = sizeof dest);
50 |
51 | #if defined PC_OnInit
52 | forward PC_OnInit();
53 | #endif
54 |
55 | #if defined OnPlayerCommandReceived
56 | forward OnPlayerCommandReceived(playerid, cmd[], params[], flags);
57 | #endif
58 |
59 | #if defined OnPlayerCommandPerformed
60 | forward OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags);
61 | #endif
62 |
63 | #define cmd:%0(%1) \
64 | forward pc_cmd_%0(%1); \
65 | public pc_cmd_%0(%1)
66 |
67 | #define alias:%0(%1); \
68 | forward pc_alias_%0(); \
69 | public pc_alias_%0() \
70 | PC_RegAlias(#%0, %1);
71 |
72 | #define flags:%0(%1); \
73 | forward pc_flags_%0(); \
74 | public pc_flags_%0() \
75 | PC_SetFlags(#%0, %1);
76 |
77 | #define CMD cmd
78 |
79 | #define COMMAND cmd
80 |
81 | #define callcmd::%0(%1) \
82 | pc_cmd_%0(%1)
83 |
84 | #define PC_HasFlag(%0,%1) \
85 | (PC_GetFlags(%0) & %1)
86 |
87 | #if !defined isnull
88 | #define isnull(%0) \
89 | ((!(%0[0])) || (((%0[0]) == '\1') && (!(%0[1]))))
90 | #endif
91 | #endif
92 | #endif // PAWNCMD_INC_
93 |
--------------------------------------------------------------------------------
/pawno/include/a_actor.inc:
--------------------------------------------------------------------------------
1 | /* SA-MP Actor Functions
2 | *
3 | * (c) Copyright 2015, SA-MP Team
4 | *
5 | */
6 |
7 | #if defined _actor_included
8 | #endinput
9 | #endif
10 | #define _actor_included
11 | #pragma library actors
12 |
13 | native CreateActor(modelid, Float:X, Float:Y, Float:Z, Float:Rotation);
14 | native DestroyActor(actorid);
15 |
16 | native IsActorStreamedIn(actorid, forplayerid);
17 |
18 | native SetActorVirtualWorld(actorid, vworld);
19 | native GetActorVirtualWorld(actorid);
20 |
21 | native ApplyActorAnimation(actorid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time);
22 | native ClearActorAnimations(actorid);
23 |
24 | native SetActorPos(actorid, Float:X, Float:Y, Float:Z);
25 | native GetActorPos(actorid, &Float:X, &Float:Y, &Float:Z);
26 | native SetActorFacingAngle(actorid, Float:ang);
27 | native GetActorFacingAngle(actorid, &Float:ang);
28 |
29 | native SetActorHealth(actorid, Float:health);
30 | native GetActorHealth(actorid, &Float:health);
31 | native SetActorInvulnerable(actorid, invulnerable = true);
32 | native IsActorInvulnerable(actorid);
33 |
34 | native IsValidActor(actorid);
--------------------------------------------------------------------------------
/pawno/include/a_http.inc:
--------------------------------------------------------------------------------
1 | /* SA-MP threaded HTTP/1.0 client for pawn
2 | *
3 | * (c) Copyright 2010, SA-MP Team
4 | *
5 | */
6 |
7 | // HTTP requests
8 | #define HTTP_GET 1
9 | #define HTTP_POST 2
10 | #define HTTP_HEAD 3
11 |
12 | // HTTP error response codes
13 | // These codes compliment ordinary HTTP response codes returned in 'response_code'
14 | // (10x) (20x OK) (30x Moved) (40x Unauthorised) (50x Server Error)
15 | #define HTTP_ERROR_BAD_HOST 1
16 | #define HTTP_ERROR_NO_SOCKET 2
17 | #define HTTP_ERROR_CANT_CONNECT 3
18 | #define HTTP_ERROR_CANT_WRITE 4
19 | #define HTTP_ERROR_CONTENT_TOO_BIG 5
20 | #define HTTP_ERROR_MALFORMED_RESPONSE 6
21 |
22 | native HTTP(index, type, url[], data[], callback[]);
23 |
24 | // example HTTP callback: public MyHttpResponse(index, response_code, data[]) { ... }
--------------------------------------------------------------------------------
/pawno/include/a_mysql.inc:
--------------------------------------------------------------------------------
1 | /**
2 | * MySQL plugin R39-6
3 | */
4 |
5 |
6 | #if defined mysql_included
7 | #endinput
8 | #endif
9 | #define mysql_included
10 |
11 |
12 | /**
13 | * Common error codes
14 | *
15 | * Client: http://dev.mysql.com/doc/refman/5.1/en/error-messages-client.html
16 | * Server: http://dev.mysql.com/doc/refman/5.1/en/error-messages-server.html
17 | */
18 |
19 | #define ER_DBACCESS_DENIED_ERROR 1044
20 | #define ER_ACCESS_DENIED_ERROR 1045
21 | #define ER_UNKNOWN_TABLE 1109
22 | #define ER_SYNTAX_ERROR 1149
23 | #define CR_SERVER_GONE_ERROR 2006
24 | #define CR_SERVER_LOST 2013
25 | #define CR_COMMAND_OUT_OF_SYNC 2014
26 | #define CR_SERVER_LOST_EXTENDED 2055
27 |
28 |
29 | enum E_MYSQL_LOGLEVEL
30 | {
31 | LOG_NONE = 0,
32 | LOG_ERROR = 1,
33 | LOG_WARNING = 2,
34 | LOG_DEBUG = 4,
35 |
36 | LOG_ALL = LOG_ERROR | LOG_WARNING | LOG_DEBUG
37 | };
38 |
39 | enum E_MYSQL_LOGTYPE
40 | {
41 | LOG_TYPE_TEXT = 1,
42 | LOG_TYPE_HTML = 2
43 | };
44 |
45 | enum ORM_Error
46 | {
47 | ERROR_OK,
48 | ERROR_NO_DATA
49 | };
50 |
51 | enum E_MYSQL_OPTION
52 | {
53 | DUPLICATE_CONNECTIONS,
54 | LOG_TRUNCATE_DATA
55 | };
56 |
57 | enum E_EXECTIME_UNIT
58 | {
59 | UNIT_MILLISECONDS,
60 | UNIT_MICROSECONDS
61 | };
62 |
63 |
64 | #define mysql_real_escape_string mysql_escape_string
65 | #define cache_num_fields cache_get_field_count
66 | #define cache_num_rows cache_get_row_count
67 | #define mysql_function_query(%0,%1,%2,%3,"%4"%5) mysql_tquery(%0,%1,%3,#%4%5)
68 | #define mysql_reload(%0) mysql_tquery(%0,"FLUSH PRIVILEGES")
69 | #define mysql_debug(%0) (%0?mysql_log(LOG_ALL):mysql_log())
70 | #define ismysqlnull(%0) (strcmp(%0,"NULL",false)==0)
71 |
72 |
73 | // ORM functions
74 | native ORM:orm_create(const table[], connectionHandle = 1);
75 | native orm_destroy(ORM:id);
76 |
77 | native ORM_Error:orm_errno(ORM:id);
78 |
79 | native orm_apply_cache(ORM:id, row);
80 | native orm_select(ORM:id, callback[] = "", format[] = "", {Float, _}:...);
81 | /*
82 | native orm_select_inline(ORM:id, callback:Callback, format[], {Float,_}:...); //y_inline
83 | */
84 | native orm_update(ORM:id);
85 | native orm_insert(ORM:id, callback[] = "", format[] = "", {Float, _}:...);
86 | /*
87 | native orm_insert_inline(ORM:id, callback:Callback, format[], {Float,_}:...); //y_inline
88 | */
89 | native orm_delete(ORM:id, bool:clearvars=true);
90 |
91 | native orm_load(ORM:id, callback[] = "", format[] = "", {Float, _}:...) = orm_select;
92 | native orm_save(ORM:id, callback[] = "", format[] = "", {Float, _}:...);
93 |
94 | native orm_addvar_int(ORM:id, &var, varname[]);
95 | native orm_addvar_float(ORM:id, &Float:var, varname[]);
96 | native orm_addvar_string(ORM:id, var[], var_maxlen, varname[]);
97 |
98 | native orm_delvar(ORM:id, varname[]);
99 | native orm_setkey(ORM:id, varname[]);
100 |
101 |
102 | // MySQL functions
103 | native mysql_log(E_MYSQL_LOGLEVEL:loglevel = LOG_ERROR | LOG_WARNING, E_MYSQL_LOGTYPE:logtype = LOG_TYPE_TEXT);
104 | native mysql_connect(const host[], const user[], const database[], const password[], port = 3306, bool:autoreconnect = true, pool_size = 2);
105 | native mysql_close(connectionHandle = 1);
106 | native mysql_reconnect(connectionHandle = 1);
107 |
108 | native mysql_unprocessed_queries(connectionHandle = 1);
109 | native mysql_current_handle();
110 | native mysql_option(E_MYSQL_OPTION:type, value);
111 |
112 | native mysql_errno(connectionHandle = 1);
113 | native mysql_escape_string(const source[], destination[], connectionHandle = 1, max_len = sizeof(destination));
114 | native mysql_format(connectionHandle, output[], len, format[], {Float,_}:...);
115 | native mysql_pquery(connectionHandle, query[], callback[] = "", format[] = "", {Float,_}:...);
116 | /*
117 | native mysql_pquery_inline(connHandle, query[], callback:Callback, format[], {Float,_}:...); //y_inline
118 | */
119 | native mysql_tquery(connectionHandle, query[], callback[] = "", format[] = "", {Float,_}:...);
120 | /*
121 | native mysql_tquery_inline(connHandle, query[], callback:Callback, format[], {Float,_}:...); //y_inline
122 | */
123 | native Cache:mysql_query(conhandle, query[], bool:use_cache = true);
124 |
125 | native mysql_stat(destination[], connectionHandle = 1, max_len = sizeof(destination));
126 | native mysql_get_charset(destination[], connectionHandle = 1, max_len = sizeof(destination));
127 | native mysql_set_charset(charset[], connectionHandle = 1);
128 |
129 |
130 | // Cache functions
131 | native cache_get_data(&num_rows, &num_fields, connectionHandle = 1);
132 | native cache_get_row_count(connectionHandle = 1);
133 | native cache_get_field_count(connectionHandle = 1);
134 | native cache_get_field_name(field_index, destination[], connectionHandle = 1, max_len = sizeof(destination));
135 |
136 | native cache_get_row(row, field_idx, destination[], connectionHandle = 1, max_len = sizeof(destination));
137 | native cache_get_row_int(row, field_idx, connectionHandle = 1);
138 | native Float:cache_get_row_float(row, field_idx, connectionHandle = 1);
139 |
140 | native cache_get_field_content(row, const field_name[], destination[], connectionHandle = 1, max_len = sizeof(destination));
141 | native cache_get_field_content_int(row, const field_name[], connectionHandle = 1);
142 | native Float:cache_get_field_content_float(row, const field_name[], connectionHandle = 1);
143 |
144 | native Cache:cache_save(connectionHandle = 1);
145 | native cache_delete(Cache:cache_id, connectionHandle = 1);
146 | native cache_set_active(Cache:cache_id, connectionHandle = 1);
147 | native cache_is_valid(Cache:cache_id, connectionHandle = 1);
148 |
149 | native cache_affected_rows(connectionHandle = 1);
150 | native cache_insert_id(connectionHandle = 1);
151 | native cache_warning_count(connectionHandle = 1);
152 |
153 | native cache_get_query_exec_time(E_EXECTIME_UNIT:unit = UNIT_MICROSECONDS);
154 | native cache_get_query_string(destination[], max_len = sizeof(destination));
155 |
156 |
157 | // Forward declarations
158 | forward OnQueryError(errorid, error[], callback[], query[], connectionHandle);
159 |
160 |
161 | #if defined MYSQL_USE_YINLINE || defined E_CALLBACK_DATA
162 | #if !defined E_CALLBACK_DATA
163 | #include
164 | #endif
165 |
166 | static g_MySQL_InlineData[1000][E_CALLBACK_DATA];
167 | static g_MySQL_VarArray[32][YSI_MAX_STRING];
168 | static g_MySQL_AddressArray[32];
169 |
170 | stock MySQL_Internal_SaveInline(callback:CB)
171 | {
172 | static bool:g_MySQL_LazyInit = true;
173 | if(g_MySQL_LazyInit == true)
174 | {
175 | //set g_MySQL_InlineData empty
176 | for(new i=0; i < sizeof(g_MySQL_InlineData); ++i)
177 | for(new E_CALLBACK_DATA:e = E_CALLBACK_DATA:0; e < E_CALLBACK_DATA; ++e)
178 | g_MySQL_InlineData[i][e] = 0;
179 | g_MySQL_LazyInit = false;
180 | }
181 |
182 | for(new i=0; i < sizeof(g_MySQL_InlineData); ++i)
183 | if(_:g_MySQL_InlineData[i][E_CALLBACK_DATA_POINTER] == 0)
184 | if (Callback_Get(CB, g_MySQL_InlineData[i]))
185 | return i;
186 |
187 | return -1;
188 | }
189 |
190 | #define mysql_pquery_inline(%0,%1,%2,"%3"%4) \
191 | mysql_pquery(%0,%1,"FJ37DH3JG_MYSQL_INTERNAL","d"#%3,MySQL_Internal_SaveInline(%2)%4)
192 |
193 | #define mysql_tquery_inline(%0,%1,%2,"%3"%4) \
194 | mysql_tquery(%0,%1,"FJ37DH3JG_MYSQL_INTERNAL","d"#%3,MySQL_Internal_SaveInline(%2)%4)
195 |
196 | #define orm_select_inline(%0,%1,"%2"%3) \
197 | orm_select(%0,"FJ37DH3JG_MYSQL_INTERNAL","d"#%2,MySQL_Internal_SaveInline(%1)%3)
198 |
199 | #define orm_insert_inline(%0,%1,"%2"%3) \
200 | orm_insert(%0,"FJ37DH3JG_MYSQL_INTERNAL","d"#%2,MySQL_Internal_SaveInline(%1)%3)
201 |
202 |
203 | forward FJ37DH3JG_MYSQL_INTERNAL(...);
204 | public FJ37DH3JG_MYSQL_INTERNAL(...)
205 | {
206 | new InlineDataIndex = getarg(0);
207 | if(InlineDataIndex < 0)
208 | return 0;
209 |
210 | for(new i=0; i < numargs()-1; ++i)
211 | {
212 | for(new l=0; l < YSI_MAX_STRING; ++l)
213 | {
214 | new TmpVal = getarg(i+1, l);
215 | if(l == 0 || g_MySQL_VarArray[i][l-1] < 256)
216 | g_MySQL_VarArray[i][l] = TmpVal;
217 | else
218 | break;
219 | }
220 |
221 | g_MySQL_AddressArray[i] = AMX_GetRelativeAddress(g_MySQL_VarArray[i][0]);
222 | }
223 |
224 | Callback_Array(g_MySQL_InlineData[InlineDataIndex], g_MySQL_AddressArray);
225 |
226 | Callback_Release(g_MySQL_InlineData[InlineDataIndex]);
227 | for(new E_CALLBACK_DATA:e = E_CALLBACK_DATA:0; e < E_CALLBACK_DATA; ++e)
228 | g_MySQL_InlineData[InlineDataIndex][e] = 0;
229 |
230 | for(new i=0; i < numargs()-1; ++i)
231 | {
232 | g_MySQL_AddressArray[i] = 0;
233 | for(new l=0, lmax=strlen(g_MySQL_VarArray[i]); l < lmax; ++l)
234 | g_MySQL_VarArray[i][l] = 0;
235 | }
236 | return 1;
237 | }
238 | #endif
239 |
--------------------------------------------------------------------------------
/pawno/include/a_npc.inc:
--------------------------------------------------------------------------------
1 | /* SA-MP NPC Functions
2 | *
3 | * (c) Copyright 2009, SA-MP Team
4 | *
5 | */
6 |
7 | #if defined _samp_included
8 | #endinput
9 | #endif
10 | #define _samp_included
11 | #pragma library samp
12 |
13 | #pragma tabsize 4
14 |
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include