forked from lama-development/TruckJob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
70 lines (61 loc) · 3.36 KB
/
config.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
Config = {}
-- Leave this to true if you use ND_Framework (https://forum.cfx.re/t/updated-nd-framework-addons/4792200)
-- Set BOTH UseND and UseNAT to false if you want to use as standalone.
Config.UseND = true
-- Set this to true to use NAT2k15's Standalone Money (https://github.com/NAT2K15/fivem-money-system)
-- Set BOTH UseND and UseNAT to false if you want to use as standalone.
Config.UseNAT = false
-- Set the amount of money the player will be paid for each delivery completed
-- For example, if it is equal to 500, delivering 3 trailers will get you $1500
-- Only works if you set UseND to true, otherwise leave this as it is
Config.PayPerDelivery = 750
-- Set the truck model name used for the job
Config.TruckModel = 'phantom'
-- Set the location of the blip on the map where the player can start the job
Config.BlipLocation = { x = 346.05, y = 3407.15, z = 35.5 }
-- Set the location where you want the truck to spawn at the start of the mission
-- I suggest having this near your BlipLocation
-- h is the heading (what direction the truck will face when spawned)
Config.DepotLocation = { x = 334.67, y = 3411.53, z = 36.65, h = 292.12 }
-- Set the possible locations for the trailers to spawn
-- h is the heading (what direction the trailer will face when spawned)
-- Make sure they have a large place to spawn
Config.TrailerLocations = {
{ x = 167.69, y = 2756.53, z = 43.39, h = 239.22 }, -- Small warehouse on Joshua Rd (4014)
{ x = 648.13, y = 2763.6, z = 41.97, h = 184.53 }, -- Harmony Suburban (4020)
{ x = 302.3, y = 2833.88, z = 43.45, h = 305.92 }, -- Harmony Cement Factory (4014)
{ x = 1374.99, y = 3611.88, z = 34.89, h = 199.46 }, -- Ace Liquor (3026)
{ x = 2327.29, y = 3138.91, z = 48.17, h = 79.8 }, -- Cat-Claw Ave Recycling Center (3048)
{ x = 2672.65, y = 3517.07, z = 52.71, h = 333.39 }, -- YouTool (3052)
{ x = 2895.51, y = 4381.8, z = 50.38, h = 287.41 }, -- Union Grain Supply Inc (2050)
{ x = 1714.21, y = 4807.46, z = 41.8, h = 101.8 } -- Wonderama Arcade (2010)
}
-- Set the possible destinations where you have to drive the trailer to
Config.Destinations = {
{ x = -3169.63, y = 1102.37, z = 20.74 }, -- Chumash Plaza (5033)
{ x = 31.54, y = 6287.21, z = 31.24 }, -- Cluckin Bell Factory (1021)
{ x = -360.2, y = 6073.27, z = 31.5 }, -- Paleto Bay Market (1036)
{ x = 3640.62, y = 3766.41, z = 28.52 }, -- Humane Labs (2060)
{ x = 2525.09, y = 2625.93, z = 37.94 }, -- Rex's Diner (3056)
{ x = 2790.15, y = 1408.84, z = 24.44 }, -- Palmer-Taylor Power Station (3063)
{ x = 2551.89, y = 438.54, z = 108.45 }, -- Route 15 Gas Station (7355)
{ x = -1664.99, y = 3121.59, z = 31.72 }, -- Fort Zancudo (5005)
{ x = 1531.33, y = 784.24, z = 77.44 }, -- LS Freeway (7357)
{ x = 789.08, y = 1289.67, z = 360.3}, -- Mt Haan Dr (5025)
{ x = 974.03, y = 3.9, z = 81.04 }, -- Casino (7292)
{ x = -2030.78, y = -262.44, z = 23.39 }, -- The Jetty Hotel (7009)
{ x = -2962.85, y = 60.93, z = 11.61 }, -- Pacific Bluffs Country Club (5062)
{ x = -802.16, y = 5409.08, z = 33.86 } -- GOH Paleto Forest (1083)
}
-- Set the possible trailer model names that will be used
Config.TrailerModels = {
'docktrailer',
'tr4',
'trailers',
'trailers2',
'trailers3',
'trailers4',
'trailerlogs',
'tanker',
'tanker2'
}