forked from DevBlocky/nearest-postal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
49 lines (38 loc) · 1.64 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
config = {
-- enables version checking (if this is enabled and there is no new version it won't display a message anyways)
versionCheck = true,
text = {
-- The text to display on-screen for the nearest postal.
-- Formatted using Lua strings, http://www.lua.org/pil/20.html
format = '~y~Nearest Postal~w~: %s (~g~%.2fm~w~)',
-- ScriptHook PLD Position
--posX = 0.225,
--posY = 0.963,
-- vMenu PLD Position
posX = 0.22,
posY = 0.963
},
blip = {
-- The text to display in chat when setting a new route.
-- Formatted using Lua strings, http://www.lua.org/pil/20.html
blipText = 'Postal Route %s',
-- The sprite ID to display, the list is available here:
-- https://docs.fivem.net/docs/game-references/blips/#blips
sprite = 8,
-- The color ID to use (default is 3, light blue)
-- https://docs.fivem.net/docs/game-references/blips/#blip-colors
color = 3,
-- When the player is this close (in meters) to the destination,
-- the blip will be removed.
distToDelete = 100.0,
-- The text to display in chat when a route is deleted
deleteText = 'Route deleted',
-- The text to display in chat when drawing a new route
drawRouteText = 'Drawing a route to %s',
-- The text to display when a postal is not found.
notExistText = "That postal doesn't exist"
},
-- How often in milliseconds the postal code is updated on each client.
-- I wouldn't recommend anything lower than 50ms for performance reasons
updateDelay = nil,
}