This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
forked from yagizher/orp-banking
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.lua
90 lines (77 loc) · 1.48 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
Config = {}
Config.ATMProps = {
`prop_atm_01`,
`prop_atm_02`,
`prop_atm_03`,
`prop_fleeca_atm`,
`v_5_b_atm1`,
`v_5_b_atm2`
}
Config.BankZones = {
{ -- Legion Square
pos = vec3(149.02, -1041.17, 29.37),
h = 340.0,
length = 0.8,
width = 6.0,
minZ = 28.37,
maxZ = 31.07
},
{ -- Del Perro
pos = vec3(-1212.92, -331.6, 37.79),
h = 27.0,
length = 0.8,
width = 6.0,
minZ = 36.79,
maxZ = 39.49
},
{ -- Burton
pos = vec3(-351.78, -50.36, 49.04),
h = 341.0,
length = 0.8,
width = 6.0,
minZ = 48.04,
maxZ = 50.74
},
{ -- Hawick
pos = vec3(313.37, -279.53, 54.17),
h = 340.0,
length = 0.8,
width = 6.0,
minZ = 53.17,
maxZ = 55.87
},
{ -- Highway
pos = vec3(-2961.91, 482.27, 15.7),
h = 87.0,
length = 0.8,
width = 6.0,
minZ = 14.7,
maxZ = 17.4
},
{ -- Sandy Shores
pos = vec3(1175.7, 2707.51, 38.09),
h = 0.0,
length = 0.8,
width = 6.0,
minZ = 37.09,
maxZ = 39.79
},
{ -- Paleto Bay
pos = vec3(-111.54, 6469.59, 31.62),
h = 315.0,
length = 0.8,
width = 4.4,
minZ = 30.62,
maxZ = 33.12
}
}
SendNotify = function(msg, type)
TriggerEvent('mythic_notify:client:SendAlert', { -- https://github.com/thelindat/mythic_notify
type = type,
text = msg,
length = 7500
})
-- ESX.ShowNotification(msg) -- Default ESX notification
-- exports['t-notify']:Alert({ style = type, message = msg }) -- https://github.com/TasoOneAsia/t-notify
end
RegisterNetEvent('orp_banking:notify', SendNotify)