-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.lua
83 lines (80 loc) · 4.53 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
71
72
73
74
75
76
77
78
79
80
81
82
83
Config = {}
Config.Locale = 'en' -- Localisation
Config.CurrencyPrefix = '$' -- Ex. $ for USD - will be in front of the price
Config.CurrencySuffix = '' -- Ex. DKK for Danish Kroner - will be behind the price, remember a space in the start.
Config.Zones = {
BikeRental = {
Enable = true, -- Enable/Disable Bike Rental
Name = _U('bikerental_blip'), -- Blip Name
DrawDistance = 10.0, -- DrawDistance lower is better! (controles how fare away you should be before the marker on the ground is drawn)
MarkerType = 25, -- Marker Type https://forum.fivem.net/t/drawmarker-pictures-for-dev/99136
ZoneSize = {x = 2.0, y = 2.0, z = 2.0}, -- Zone Size (How large the ring is)
MarkerColor = {r = 0, g = 255, b = 255}, -- Marker Color RGB
RentetMarkerColor = {r = 255, g = 0, b = 0}, -- Marker Color when bike is rentet
BlipSprite = 162, -- Map Marker Icon http://gtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html
BlipScale = 0.8, -- Size of Map Marker
BlipColor = 15, -- Map Marker Color
EnableBlips = true, -- Enable/Disable Map Markers
Free = false, -- Controle if bike rental is free
Multiplier = 5, -- Multiplie the renting price, if bike is not returned (Bike Rental resets on server restart)
MenuTitle = _U('menu_title_bikerental'), -- Menu Title
ItemType = 'vehicle', -- Item Type (This one is not used currently, but is intended to be used if script is expanded)
MenuActions = {
MenuTrigger = 'bikerental_menu', -- Menu Trigger
MenuMessage = _U('press_bikerental_menu'), -- Menu Help Text
},
Items = { -- Item, label, and price used for the menu
{item = 'BMX', label = 'BMX Cykel', price = 300},
{item = 'CRUISER', label = 'Cruiser Cykel', price = 300},
{item = 'FIXTER', label = 'Racercykel', price = 300},
{item = 'SCORCHER', label = 'Mountainbike', price = 300},
{item = 'TRIBIKE', label = 'Triathlon Cykel 1', price = 300},
{item = 'TRIBIKE2', label = 'Triathlon Cykel 2', price = 300},
{item = 'TRIBIKE3', label = 'Triathlon Cykel 3', price = 300},
},
Pos = { -- Zone positions
{x = -246.980, y = -339.820, z = 29.000},
{x = -1085.78, y = -263.01, z = 36.80},
{x = -1262.36, y = -1438.98, z = 3.45},
{x = -248.95, y = -1528.82, z = 30.62},
{x = 1808.5, y = 3676.96, z = 33.31},
{x = -839.99, y = 5402.05, z = 33.64}
}
},
Basejumping = {
Enable = true, -- Enable/Disable Basejumping
Name = _U('basejumping_blip'), -- Blip Name
DrawDistance = 10.0, -- DrawDistance lower is better! (controles how fare away you should be before the marker on the ground is drawn)
MarkerType = 25, -- Marker Type https://forum.fivem.net/t/drawmarker-pictures-for-dev/99136
ZoneSize = {x = 2.0, y = 2.0, z = 2.0}, -- Zone Size (How large the ring is)
MarkerColor = {r = 255, g = 168, b = 0}, -- Marker Color RGB
BlipSprite = 94, -- Map Marker Icon http://gtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html
BlipScale = 0.8, -- Size of Map Marker
BlipColor = 81, -- Map Marker Color
EnableBlips = true, -- Enable/Disable Map Markers
Free = false, -- Controle if bike rental is free
MenuTitle = _U('menu_title_basejumping'), -- Menu Title
ItemType = 'weapon', -- Item Type (Is in use dont change or it will break)
MenuActions = {
MenuTrigger = 'basejumping_menu', -- Menu Trigger
MenuMessage = _U('press_basejumping_menu'), -- Menu Help Text
},
Items = { -- Item, label, and price used for the menu
{item = 'GADGET_PARACHUTE', label = 'Faldskærm', price = 300},
},
Pos = { -- Zone positions
{x = 451.45, y = 5587.85, z = 780.23},
{x = -1136.27, y = 4659.88, z = 243.02},
{x = 1665.17, y = -28.0, z = 195.97},
{x = -119.97, y = -977.51, z = 303.41},
{x = -543.86, y = -2226.02, z = 121.44},
},
TelePos = { -- Basejump TP locations (used to launch the player for basejumping)
{x = 446.74, y = 5587.83, z = 791.2, h = 85.5},
{x = -1146.22, y = 4660.92, z = 243.89, h = 88.5},
{x = 1659.71, y = -29.39, z = 196.93, h = 103.5},
{x = -118.81, y = -979.88, z = 304.24, h = 207.5},
{x = -539.62, y = -2228.61, z = 122.36, h = 237.5},
}
}
}