-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
89 lines (73 loc) · 2.32 KB
/
config.lua
File metadata and controls
89 lines (73 loc) · 2.32 KB
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
Config = {}
Config.VehicleMenu = true -- enable this if you wan't a vehicle menu.
Config.VehicleMenuButton = 344 -- change this to the key you want to open the menu with. buttons: https://docs.fivem.net/game-references/controls/
Config.RangeCheck = 25.0 -- this is the change you will be able to control the vehicle.
Config.Garages = {
["A"] = {
["positions"] = {
["menu"] = {
["position"] = vector3(-281.21, -888.22, 31.32)
},
["vehicle"] = {
["position"] = vector3(-280.91, -902.52, 31.08),
["heading"] = 335.09
}
},
},
["B"] = {
["positions"] = {
["menu"] = {
["position"] = vector3(213.772, -809.539, 31.0)
},
["vehicle"] = {
["position"] = vector3(228.16, -804.73, 30.55),
["heading"] = 306.34
}
},
},
["C"] = {
["positions"] = {
["menu"] = {
["position"] = vector3(2137.8198242188,4775.1323242188,40.97110748291)
},
["vehicle"] = {
["position"] = vector3(2133.6760253906,4783.607421875,40.970302581787),
["heading"] = 20.98
}
},
},
["D"] = {
["positions"] = {
["menu"] = {
["position"] = vector3(109.98, 6373.98, 31.38)
},
["vehicle"] = {
["position"] = vector3(109.35, 6387.2, 31.25),
["heading"] = 47.74
}
},
},
["Heli Garage"] = {
["positions"] = {
["menu"] = {
["position"] = vector3(-988.79077148438,-2948.302734375,13.945072174072)
},
["vehicle"] = {
["position"] = vector3(-977.13153076172,-2999.8544921875,13.945073127747),
["heading"] = 59.49
}
},
},
}
Config.Labels = { --FOr Garage
["menu"] = "~INPUT_CONTEXT~ Open garage %s.",
["vehicle"] = "~INPUT_CONTEXT~ Put back '%s' to your garage."
}
Config.Trim = function(value)
if value then
return (string.gsub(value, "^%s*(.-)%s*$", "%1"))
else
return nil
end
end
Config.AlignMenu = "bottom-right" -- this is where the menu is located [left, right, center, top-right, top-left etc.]