-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.lua
114 lines (105 loc) · 4.68 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
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
Config = {}
Config.CheckForUpdates = true -- /!\ Recommended
Config.Locale = GetConvar('esx:locale', 'main') -- Translate your language in the "locale.lua"
Config.RentPlaces = {
{ x = 221.25, y = -857.07, z = 30.20 }, -- Main Public Garage
{ x = -520.96, y = -261.95, z = 35.50 }, -- Municipality House
{ x = 301.13, y = -1393.93, z = 31.22 }, -- Los Santos Central Hospital
{ x = 1854.07, y = 3752.85, z = 33.12 }, -- Sandy Shores
{ x = -93.23, y = 6325.83, z = 31.49 }, -- Paleto Bay
{ x = -2561.73, y = 2317.22, z = 33.21 }, -- At the west mid-highway
{ x = -1261.66, y = -1439.61, z = 4.350 }, -- Near the beach
{ x = -1050.69, y = -2723.78, z = 13.75 } -- Airport
}
Config.NPC = { -- The NPC at the bicycle shop.
model = 's_m_m_autoshop_01', -- NPC's model name. | For more: https://wiki.rage.mp/index.php?title=Peds
hash = 0x040EABE3 -- NPC's hash. It is under the model name.
}
Config.BicycleShop = {
coords = { x = -1223.08, y = -1495.86, z = 4.35, h = 96.25 }, -- "h" is for the npc's heading.
bikeSpawn = { x = -1224.74, y = -1493.78, z = 3.79, h = 107.83 } -- "h" is for the spawn heading.
}
Config.Currency = '$' -- You can set the currency whatever you want. Ect.: $, € or £
Config.CurrencyPlacement = 'before' -- currency placement 'before' or 'after' the prices (ex.: before: $10 or after: 10$)
Config.Bicycles = { -- bicycles' name rent price/minute and the price in case if you want to buy one at the bike shop
cruiser = {
name = 'Average Bicycle',
rentPrice = 3,
buyPrice = 300
},
bmx = {
name = 'BMX Bicycle',
rentPrice = 4,
buyPrice = 400
},
fixter = {
name = 'Fast City Bicycle',
rentPrice = 5,
buyPrice = 500
},
scorcher = {
name = 'Off-Road Bicycle',
rentPrice = 7,
buyPrice = 700
},
tribike = {
name = 'Whippet Race Bicycle',
rentPrice = 10,
buyPrice = 1000
},
tribike2 = {
name = 'Endurex Race Bicycle',
rentPrice = 10,
buyPrice = 1000
},
tribike3 = {
name = 'Tri-Cycles Race Bicycle',
rentPrice = 10,
buyPrice = 1000
}
}
Config.NotificationSettings = {
sender = 'Bicycle Rent&Shop Inc.', -- The Title of the Message
icon = 'CHAR_BIKESITE', -- The Message Icon. You can find thiese default icons here: https://wiki.gtanet.work/index.php?title=Notification_Pictures
iconIndex = 2, -- Icon next to the title. You can find more here: https://esx-brasil.github.io/es_extended/client/functions/showadvancednotification/#icon-types
messages = {
bikeRented = { -- Message when a player rents a bicycle
subject = 'Bicycle Rented',
msg = 'Dear Customer! You have rented a bicycle from one of our renting places. We hope our bicycle\'s performace will impress you!'
},
bikeRentEnded = {
subject = 'Bicycle Rent Ended',
msg = 'Dear Customer! We hope you were satisfied with the quality of our bicycle but unfortunately your retal period has expired. We hope you will come back! Have good a day!'
},
bikeBought = {
subject = 'Bicycle Purchased',
msg = 'Dear Customer! We are glad you have choosen our Bicycle Shop to purchase a high quality bicycle! We hope you will enjoy your bicylce! Have a good day!'
}
}
}
Config.BlipAndMarkers = {
-- Markers
Markers = {
Distance = 20, -- The distance where inside the value (in meters) players can see the marker
Type = 21, -- The marker type. - You can find more here: https://docs.fivem.net/docs/game-references/markers/
Size = { x = 0.4, y = 0.4, z = 0.4}, -- The size of the marker
Colour = { r = 240, g = 203, b = 87, a = 150}, -- The color of the marker
Bounce = false, -- Make the marker bouncing
Rotate = true, -- Make the marker rotating 360°
Facing = false -- Make the marker always face to you (It works only if the markerRotate is set on false)
},
-- Rental blip
Rental = {
blipName = 'City Bicycle Rental',
blipColour = 66, -- The blip color. - You can find more here: https://docs.fivem.net/docs/game-references/blips/#blip-colors
blipId = 226, -- The blip icon. - You can find more here: https://docs.fivem.net/docs/game-references/blips/
blipSize = 1.0 -- The blip size.
},
-- Shop blip
Shop = {
blipName = 'City Bicycle Shop',
blipColour = 47,
blipId = 226,
blipSize = 1.2
}
}