-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdw_postaljob.lua
224 lines (215 loc) · 15.7 KB
/
dw_postaljob.lua
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
Config = {}
Config.core = "qb" -- qb/esx
Config.Target = "ox" -- qb/ox
Config.inv = "qb" -- qb/ox
Config.payoutPerDelivery = 50
Config.hotbarSlots = 6 -- the number of slots you consider hotbar and where the package you want to deliver should be
-------------------------
-- REMEMBER TO MODIFY INVENTORIES ACCORDING TO THE INSTALL INSTRUCTIONS
-------------------------
Config.PostMaster = {
pedModel = `s_m_m_postal_01`,
coords = vector4(78.9362, 112.4499, 80, 168),
blipLabel = "GoPostal",
blipSprite = 615,
blipColor = 21,
blipScale = 0.8
}
Config.Lang = {
["postalJob"] = "Postal Job",
["startSolo"] = "Start Solo Job",
["startGroup"] = "Start Group Job",
["groupIDS"] = "Group ID's",
["idsInstruction"] = "Enter the state ID's of your group members",
["jobActive"] = "You are already working!",
["jobGuide"] = "Welcome to the job! \n Addresses to deliver packages have been added to your GPS! \n Each package in the trunk has an address marked on it, so make sure to deliver each package to the right address!",
["deliver"] = "Deliver package to ", -- keep a whitespace at the end
["missingPackage"] = "Delivery failed | You must have the correct package in your hotbar"
}
Config.SpawnPoint = vector4(72.67, 120.83, 79.18, 158.66) -- Vehicle spawn point
Config.Vehicle = `boxville2`
-- Homes Locations:
Config.TargetLocations = {
{-- Mirror Park:
{ address = "1 West Mirror Drive", coords = vector3(1060.51, -378.2, 68.23)},
{ address = "3 West Mirror Drive", coords = vector3(1010.45, -423.49, 65.35)},
{ address = "2 West Mirror Drive", coords = vector3(1028.82, -408.31, 66.34)},
{ address = "5 West Mirror Drive", coords = vector3(967.2, -451.53, 62.8)},
{ address = "6 West Mirror Drive", coords = vector3(944.38, -463.08, 61.55)},
{ address = "7 West Mirror Drive", coords = vector3(921.87, -477.86, 61.08)},
{ address = "8 West Mirror Drive", coords = vector3(906.35, -489.36, 59.44)},
{ address = "9 West Mirror Drive", coords = vector3(878.34, -497.98, 58.1)},
{ address = "10 West Mirror Drive", coords = vector3(861.56, -508.98, 57.65)},
{ address = "11 West Mirror Drive", coords = vector3(850.22, -532.74, 57.93)},
{ address = "12 West Mirror Drive", coords = vector3(843.98, -562.65, 57.99)},
{ address = "13 West Mirror Drive", coords = vector3(861.73, -583.51, 58.16)},
{ address = "14 West Mirror Drive", coords = vector3(886.75, -608.18, 58.44)},
{ address = "15 West Mirror Drive", coords = vector3(902.95, -615.46, 58.45)},
{ address = "16 West Mirror Drive", coords = vector3(928.9, -639.81, 58.24)},
{ address = "17 West Mirror Drive", coords = vector3(943.19, -653.34, 58.65)},
{ address = "18 West Mirror Drive", coords = vector3(959.98, -669.91, 58.45)},
{ address = "4 West Mirror Drive", coords = vector3(987.43, -433.03, 64.03)},
{ address = "19 West Mirror Drive", coords = vector3(970.82, -701.46, 58.48)},
{ address = "20 West Mirror Drive", coords = vector3(979.11, -716.16, 58.22)},
{ address = "21 West Mirror Drive", coords = vector3(996.9, -729.59, 57.82)},
{ address = "3 Mirror Place", coords = vector3(980.19, -627.67, 59.24)},
{ address = "8 Nikola Avenue", coords = vector3(964.22, -596.14, 59.9)},
{ address = "7 Nikola Avenue", coords = vector3(976.61, -580.7, 59.85)},
{ address = "1 Mirror Place", coords = vector3(1009.66, -572.53, 60.59)},
{ address = "2 Mirror Place", coords = vector3(999.55, -593.78, 59.63)},
{ address = "1 Bridge Street", coords = vector3(1056.17, -448.91, 66.26)},
{ address = "2 Bridge Street", coords = vector3(1051.08, -470.48, 64.3)},
{ address = "3 Bridge Street", coords = vector3(1046.36, -498.17, 64.27)},
{ address = "28 West Mirror Drive", coords = vector3(945.77, -519.09, 60.81)},
},
{-- Grove Street:
{ address = "14 Grove Street", coords = vector3(85.94, -1959.76, 21.12)},
{ address = "13 Grove Street", coords = vector3(114.31, -1961.23, 21.33)},
{ address = "12 Grove Street", coords = vector3(126.91, -1929.9, 21.38)},
{ address = "11 Grove Street", coords = vector3(118.34, -1921.08, 21.32)},
{ address = "10 Grove Street", coords = vector3(100.73, -1911.99, 21.4)},
{ address = "9 Grove Street", coords = vector3(76.48, -1947.96, 21.17)},
{ address = "8 Grove Street", coords = vector3(72.08, -1938.97, 21.37)},
{ address = "7 Grove Street", coords = vector3(56.42, -1922.59, 21.91)},
{ address = "6 Grove Street", coords = vector3(39.0, -1911.58, 21.95)},
{ address = "5 Grove Street", coords = vector3(22.97, -1896.78, 22.97)},
{ address = "4 Grove Street", coords = vector3(5.21, -1884.26, 23.7)},
{ address = "3 Grove Street", coords = vector3(-4.82, -1872.19, 24.15)},
{ address = "2 Grove Street", coords = vector3(-20.65, -1859.06, 25.4)},
{ address = "1 Grove Street", coords = vector3(-34.17, -1847.08, 26.19)},
{ address = "18 Grove Street", coords = vector3(21.17, -1844.85, 24.6)},
{ address = "17 Grove Street", coords = vector3(29.75, -1854.61, 24.07)},
{ address = "16 Grove Street", coords = vector3(46.07, -1864.24, 23.28)},
{ address = "15 Grove Street", coords = vector3(54.54, -1873.15, 22.78)},
{ address = "1 Covanent Avenue", coords = vector3(104.16, -1885.55, 24.32)},
{ address = "2 Covanent Avenue", coords = vector3(115.3, -1888.01, 23.93)},
{ address = "3 Covanent Avenue", coords = vector3(128.17, -1897.08, 23.67)},
{ address = "4 Covanent Avenue", coords = vector3(148.67, -1904.45, 23.51)},
{ address = "8 Covanent Avenue", coords = vector3(130.67, -1853.28, 25.23)},
{ address = "7 Covanent Avenue", coords = vector3(150.03, -1864.67, 24.59)},
{ address = "6 Covanent Avenue", coords = vector3(171.57, -1871.68, 24.4)},
{ address = "5 Covanent Avenue", coords = vector3(192.39, -1883.39, 25.06)},
{ address = "1 Roy Lowenstein Blvd", coords = vector3(250.72, -1935.12, 24.72)},
{ address = "2 Roy Lowenstein Blvd", coords = vector3(258.35, -1927.22, 25.44)},
{ address = "3 Roy Lowenstein Blvd", coords = vector3(270.52, -1917.07, 26.18)},
{ address = "4 Roy Lowenstein Blvd", coords = vector3(282.78, -1899.03, 27.25)},
{ address = "5 Roy Lowenstein Blvd", coords = vector3(320.23, -1854.08, 27.51)},
{ address = "6 Roy Lowenstein Blvd", coords = vector3(329.43, -1845.78, 27.75)},
{ address = "7 Roy Lowenstein Blvd", coords = vector3(338.8, -1829.65, 28.34)},
},
{-- Vinewood :
{ address = "27 Mad Wayne Thunder Drive", coords = vector3(-1038.06, 222.25, 64.38)},
{ address = "2 Steele Way", coords = vector3(-971.58, 122.31, 57.05)},
{ address = "1 Steele Way", coords = vector3(-998.27, 158.17, 62.32)},
{ address = "1 West Eclipse Blvd", coords = vector3(-1043.04, 237.24, 64.16)},
{ address = "2 West Eclipse Blvd", coords = vector3(-940.42, 202.52, 67.96)},
{ address = "3 West Eclipse Blvd", coords = vector3(-902.19, 191.48, 69.45)},
{ address = "1 Edwood Way", coords = vector3(-830.39, 115.11, 56.04)},
{ address = "1 South Milton Drive", coords = vector3(-819.36, 267.95, 86.39)},
{ address = "2 South Milton Drive", coords = vector3(-877.4393, 306.3424, 84.1543)},
{ address = "3 South Milton Drive", coords = vector3(-881.39, 363.73, 85.36)},
{ address = "4 South Milton Drive", coords = vector3(-875.64, 485.77, 87.92)},
{ address = "13 South Milton Drive", coords = vector3(-842.79, 467.01, 87.6)},
{ address = "14 South Milton Drive", coords = vector3(-848.74, 508.59, 90.82)},
{ address = "15 South Milton Drive", coords = vector3(-873.38, 562.86, 96.62)},
{ address = "16 South Milton Drive", coords = vector3(-904.37, 588.01, 101.19)},
{ address = "7 South Milton Drive", coords = vector3(-924.75, 561.3, 100.16)},
{ address = "6 South Milton Drive", coords = vector3(-907.71, 544.98, 100.39)},
{ address = "8 South Milton Drive", coords = vector3(-947.77, 567.76, 101.5)},
{ address = "9 South Milton Drive", coords = vector3(-974.36, 581.81, 103.15)},
{ address = "10 South Milton Drive", coords = vector3(-1022.6, 586.94, 103.43)},
{ address = "11 South Milton Drive", coords = vector3(-1090.14, 548.72, 103.63)},
{ address = "17 South Milton Drive", coords = vector3(-1107.7, 594.53, 104.45)},
{ address = "18 South Milton Drive", coords = vector3(-1167.13, 568.66, 101.83)},
{ address = "19 South Milton Drive", coords = vector3(-1192.97, 564.04, 100.34)},
{ address = "12 South Milton Drive", coords = vector3(-1217.59, 506.63, 95.85)},
{ address = "20 South Milton Drive", coords = vector3(-1277.88, 497.13, 97.89)},
{ address = "13 Mad Wayne Thunder Drive", coords = vector3(-1308.31, 448.89, 100.97)},
{ address = "12 Mad Wayne Thunder Drive", coords = vector3(-1294.37, 454.34, 97.57)},
{ address = "48 Mad Wayne Thunder Drive", coords = vector3(-1289.03, 500.7, 97.56)},
{ address = "14 Mad Wayne Thunder Drive", coords = vector3(-1371.49, 444.12, 105.86)},
{ address = "15 Mad Wayne Thunder Drive", coords = vector3(-1413.68, 462.24, 109.21)},
{ address = "16 Mad Wayne Thunder Drive", coords = vector3(-1453.99, 512.2, 117.8)},
{ address = "16 Mad Wayne Thunder Drive", coords = vector3(-1452.89, 545.58, 120.84)},
{ address = "1 Hangman Avenue", coords = vector3(-1405.13, 561.92, 125.41)},
{ address = "2 Hangman Avenue", coords = vector3(-1372.21, 585.13, 131.45)},
{ address = "3 Hangman Avenue", coords = vector3(-1367.36, 611.04, 133.88)},
{ address = "17 Mad Wayne Thunder Drive", coords = vector3(-1337.14, 605.93, 134.38)},
{ address = "1 Hillcrest Avenue", coords = vector3(-1056.39, 761.52, 167.32)},
{ address = "3 Hillcrest Avenue", coords = vector3(-1009.25, 765.58, 171.38)},
{ address = "5 Hillcrest Avenue", coords = vector3(-1032.75, 685.94, 161.3)},
{ address = "6 Hillcrest Avenue", coords = vector3(-951.24, 682.55, 153.58)},
{ address = "7 Hillcrest Avenue", coords = vector3(-931.46, 690.99, 153.47)},
{ address = "8 Hillcrest Avenue", coords = vector3(-908.77, 693.75, 151.44)},
{ address = "9 Hillcrest Avenue", coords = vector3(-884.53, 699.23, 151.27)},
{ address = "10 Hillcrest Avenue", coords = vector3(-852.83, 695.12, 148.99)},
{ address = "2 Milton Road", coords = vector3(-596.93, 851.41, 211.48)},
{ address = "1 Milton Road", coords = vector3(-658.43, 886.25, 229.3)},
{ address = "10 Picture Perfect Drive", coords = vector3(-678.9, 512.09, 113.53)},
},
{-- Paleto Cove
{ address = "2 Procopio Drive", coords = vector3(-442.7332, 6197.9048, 29.5519)},
{ address = "3 Procopio Drive", coords = vector3(-447.9656, 6260.2656, 30.0478)},
{ address = "4 Procopio Drive", coords = vector3(-407.2643, 6314.1787, 28.9413)},
{ address = "14 Procopio Drive", coords = vector3(-380.0866, 6252.7510, 31.8512)},
{ address = "1 Duluoz Avenue", coords = vector3(-371.1159, 6266.8330, 31.8773)},
{ address = "3 Paleto Blvd", coords = vector3(-347.5160, 6225.3491, 31.8849)},
{ address = "2 Paleto Blvd", coords = vector3(-356.8997, 6207.5635, 31.8453)},
{ address = "1 Paleto Blvd", coords = vector3(-374.5617, 6190.9844, 31.7295)},
{ address = "15 Procopio Drive", coords = vector3(-332.5815, 6302.1470, 33.0894)},
{ address = "16 Procopio Drive", coords = vector3(-302.1783, 6326.9878, 32.8874)},
{ address = "17 Procopio Drive", coords = vector3(-280.5193, 6350.6924, 32.6005)},
{ address = "18 Procopio Drive", coords = vector3(-247.7391, 6369.9751, 31.8480)},
{ address = "19 Procopio Drive", coords = vector3(-227.1711, 6377.3184, 31.7592)},
{ address = "5 Procopio Drive", coords = vector3(-272.5939, 6400.9214, 31.5049)},
{ address = "20 Procopio Drive", coords = vector3(-213.5938, 6396.2188, 33.0851)},
{ address = "8 Procopio Drive", coords = vector3(-245.9163, 6414.4048, 31.4609)},
{ address = "9 Procopio Drive", coords = vector3(-229.6180, 6445.5410, 31.1974)},
{ address = "21 Procopio Drive", coords = vector3(-188.9087, 6409.6362, 32.2979)},
{ address = "10 Procopio Drive", coords = vector3(-130.7822, 6551.8555, 29.8726)},
{ address = "11 Procopio Drive", coords = vector3(-105.6279, 6528.4644, 30.1669)},
{ address = "12 Procopio Drive", coords = vector3(-44.2822, 6582.0112, 32.1754)},
{ address = "13 Procopio Drive", coords = vector3(-26.5352, 6597.1646, 31.8615)},
{ address = "21 Procopio Drive", coords = vector3(-41.5671, 6637.3848, 31.0875)},
{ address = "22 Procopio Drive", coords = vector3(1.8436, 6612.5825, 32.0783)},
{ address = "23 Procopio Drive", coords = vector3(-9.5346, 6654.2510, 31.6987)},
{ address = "24 Procopio Drive", coords = vector3(35.3683, 6663.1484, 32.1904)},
{ address = "25 Procopio Drive", coords = vector3(25.0593, 6601.7456, 32.4702)},
{ address = "26 Procopio Drive", coords = vector3(11.5247, 6578.3208, 33.0680)},
{ address = "27 Procopio Drive", coords = vector3(-15.2698, 6557.3887, 33.2404)},
},
{-- Sandy Shores
{ address = "15 Algonquin Blvd", coords = vector3(1936.5343, 3891.7048, 32.9660)},
{ address = "14 Algonquin Blvd", coords = vector3(1907.9694, 3870.1423, 32.8873)},
{ address = "3 Niland Avenue", coords = vector3(1895.3854, 3873.7349, 32.7546)},
{ address = "2 Niland Avenue", coords = vector3(1894.2567, 3895.9536, 33.1758)},
{ address = "1 Marina Drive", coords = vector3(1915.8472, 3909.3054, 33.4416)},
{ address = "1 Niland Avenue", coords = vector3(1880.4668, 3920.5144, 33.2131)},
{ address = "5 Niland Avenue", coords = vector3(1859.3314, 3865.1721, 33.0588)},
{ address = "4 Cholla Springs Avenue", coords = vector3(1832.6194, 3868.5867, 34.2978)},
{ address = "3 Cholla Springs Avenue", coords = vector3(1813.6133, 3854.0532, 34.3544)},
{ address = "5 Cholla Springs Avenue", coords = vector3(1845.7345, 3914.6057, 33.4612)},
{ address = "2 Marina Drive", coords = vector3(1841.8229, 3928.6067, 33.7160)},
{ address = "3 Marina Drive", coords = vector3(1803.5552, 3913.8477, 37.0569)},
{ address = "4 Marina Drive", coords = vector3(1786.5189, 3912.9922, 34.9110)},
{ address = "1 Armadillo Drive", coords = vector3(1756.4033, 3871.4163, 34.8715)},
{ address = "6 Marina Drive", coords = vector3(1733.5139, 3895.2866, 35.5591)},
{ address = "7 Marina Drive", coords = vector3(1691.8171, 3865.7251, 34.9074)},
{ address = "6 Cholla Springs Avenue", coords = vector3(1728.6255, 3851.9136, 34.7835)},
{ address = "2 Cholla Springs Avenue", coords = vector3(1763.8185, 3823.6282, 34.7677)},
{ address = "1 Cholla Springs Avenue", coords = vector3(1733.4729, 3808.6064, 35.1290)},
{ address = "11 Algonquin Blvd", coords = vector3(1777.5068, 3799.9907, 34.5231)},
{ address = "12 Algonquin Blvd", coords = vector3(1746.1237, 3788.2400, 34.8349)},
{ address = "13 Marina Drive", coords = vector3(1661.3657, 3819.9653, 35.4696)},
{ address = "4 Algonquin Blvd", coords = vector3(1639.2556, 3731.1453, 35.0671)},
{ address = "15 Marina Drive", coords = vector3(1501.5947, 3694.9929, 35.2129)},
{ address = "1 Lesbos Lane", coords = vector3(1430.7393, 3671.3950, 34.8290)},
{ address = "17 Marina Drive", coords = vector3(1385.1843, 3659.5012, 34.9281)},
{ address = "2 Lesbos Lane", coords = vector3(1435.3721, 3657.2271, 34.4200)},
{ address = "3 Lesbos Lane", coords = vector3(1436.1945, 3639.0781, 34.9473)},
{ address = "1 Mountainview Drive", coords = vector3(1774.6428, 3742.8442, 34.6551)},
{ address = "3 Zancudo Avenue", coords = vector3(1826.8835, 3729.6814, 33.9619)},
{ address = "9 Niland Avenue", coords = vector3(1880.6827, 3810.4888, 32.7787)},
{ address = "10 Niland Avenue", coords = vector3(1898.8463, 3781.7305, 32.8766)},
},
}