-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
120 lines (102 loc) · 3.74 KB
/
Copy pathconfig.lua
File metadata and controls
120 lines (102 loc) · 3.74 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
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
115
116
117
118
119
120
Config = {}
-- General Settings
Config.CooldownTime = 300000 -- 5 minutes in milliseconds
Config.RobberyTime = 10000 -- 10 seconds to rob
Config.PoliceAlertChance = 75 -- 75% chance to alert police
Config.MinPayout = 50
Config.MaxPayout = 150
Config.RequiredItem = "weapon_crowbar" -- Item needed to rob meters
Config.RemoveItemOnUse = false -- Set to true if you want to remove the crowbar after use
Config.ItemDurability = false -- Set to true if you want to reduce crowbar durability
-- Inventory System Configuration
-- Options: 'qb-inventory', 'ox_inventory'
Config.InventorySystem = 'qb-inventory' -- Change this to your inventory system
-- Banking System Configuration
-- Options: 'qb-banking', 'okokbanking'
Config.BankingSystem = 'qb-banking' -- Change this to your banking system
-- Dispatch System Configuration
-- Options: 'ps-dispatch', 'cd_dispatch', 'rcore_dispatch', 'none'
Config.DispatchSystem = 'ps-dispatch' -- Change this to your dispatch system
-- Police Job Settings
Config.PoliceJobs = {
'police',
'sheriff',
-- Add more police job names if needed
}
Config.MinimumPolice = 0 -- Minimum police required online to rob meters
-- Parking meter prop hashes
Config.MeterProps = {
`prop_parkmeter_01`,
`prop_parkmeter_02`,
}
-- Zone Restrictions (Optional)
-- Set to false to allow robbery everywhere
-- Set to true to enable blacklist or whitelist zones
Config.UseZoneRestrictions = false
-- Blacklist Mode: Prevent robberies in these zones
-- Whitelist Mode: Only allow robberies in these zones
Config.ZoneMode = 'blacklist' -- 'blacklist' or 'whitelist'
-- Blacklist Zones (robberies NOT allowed here)
Config.BlacklistZones = {
-- Example: Police Station
{
coords = vector3(425.1, -979.5, 30.7),
radius = 100.0,
label = "Mission Row PD"
},
-- Example: Hospital
{
coords = vector3(298.9, -584.4, 43.3),
radius = 75.0,
label = "Pillbox Hospital"
},
-- Add more zones as needed
}
-- Whitelist Zones (robberies ONLY allowed here)
Config.WhitelistZones = {
-- Example: Downtown area
{
coords = vector3(232.5, -862.8, 30.0),
radius = 200.0,
label = "Downtown"
},
-- Add more zones as needed
}
-- Dispatch Settings
Config.DispatchTitle = "Parking Meter Vandalism"
Config.DispatchMessage = "Suspicious activity reported at a parking meter"
Config.DispatchCode = "10-31" -- Robbery in progress
Config.DispatchSprite = 161 -- Blip sprite (fallback for non-ps-dispatch)
Config.DispatchColor = 1 -- Blip color (fallback for non-ps-dispatch)
Config.DispatchScale = 0.8 -- Blip scale (fallback for non-ps-dispatch)
Config.DispatchDuration = 120000 -- How long the blip stays (2 minutes) (fallback for non-ps-dispatch)
-- Blip Configuration (used by cd_dispatch, rcore_dispatch, and custom fallback)
-- Note: ps-dispatch uses Config.Blips table below
Config.Blips = {
['parkingmeter'] = {
sprite = 161,
color = 1,
scale = 0.8,
length = 2, -- Minutes
sound = "Lose_1st",
sound2 = "GTAO_FM_Events_Soundset",
offset = false,
flash = false,
radius = 0
}
}
-- Target System Settings
Config.UseTarget = true -- Set to false to use key press instead
Config.TargetSystem = 'qb-target' -- Options: 'qb-target', 'ox_target'
Config.TargetDistance = 2.0
-- Key Press Settings (if not using target)
Config.RobKey = 38 -- E key
Config.RobKeyLabel = '[E] Rob Parking Meter'
-- Animation Settings
Config.AnimDict = "missheist_agency2ahelmet"
Config.AnimName = "ig_7_picking_up_hammer"
-- Notification Settings
Config.UseOkokNotify = false -- Set to true if using okokNotify
Config.UseQBNotify = true -- Set to true if using QB-Core notify
-- Debug Mode
Config.Debug = false -- Set to true for debug prints