-
Notifications
You must be signed in to change notification settings - Fork 225
/
config.lua
106 lines (97 loc) · 3.11 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
Config = {}
-- Vehicle lock settings
Config.LockToggleAnimation = {
AnimDict = 'anim@mp_player_intmenu@key_fob@',
Anim = 'fob_click',
Prop = 'prop_cuff_keys_01',
PropBone = 57005,
WaitTime = 500,
}
Config.LockAnimSound = "keys"
Config.LockToggleSound = "lock"
Config.LockToggleDist = 8.0
-- NPC Vehicle Lock States
Config.LockNPCDrivingCars = true -- Lock state for NPC cars being driven by NPCs [true = locked, false = unlocked]
Config.LockNPCParkedCars = true -- Lock state for NPC parked cars [true = locked, false = unlocked]
Config.UseKeyfob = false -- you can set this true if you dont need ui
-- Lockpick Settings
Config.RemoveLockpickNormal = 0.5 -- Chance to remove lockpick on fail
Config.RemoveLockpickAdvanced = 0.2 -- Chance to remove advanced lockpick on fail
-- Carjack Settings
Config.CarJackEnable = true -- True allows for the ability to car jack peds.
Config.CarjackingTime = 7500 -- How long it takes to carjack
Config.DelayBetweenCarjackings = 10000 -- Time before you can carjack again
Config.CarjackChance = {
['2685387236'] = 0.0, -- melee
['416676503'] = 0.5, -- handguns
['-957766203'] = 0.75, -- SMG
['860033945'] = 0.90, -- shotgun
['970310034'] = 0.90, -- assault
['1159398588'] = 0.99, -- LMG
['3082541095'] = 0.99, -- sniper
['2725924767'] = 0.99, -- heavy
['1548507267'] = 0.0, -- throwable
['4257178988'] = 0.0, -- misc
}
-- Hotwire Settings
Config.HotwireChance = 0.5 -- Chance for successful hotwire or not
Config.TimeBetweenHotwires = 5000 -- Time in ms between hotwire attempts
Config.minHotwireTime = 20000 -- Minimum hotwire time in ms
Config.maxHotwireTime = 40000 -- Maximum hotwire time in ms
-- Police Alert Settings
Config.AlertCooldown = 10000 -- 10 seconds
Config.PoliceAlertChance = 0.75 -- Chance of alerting police during the day
Config.PoliceNightAlertChance = 0.50 -- Chance of alerting police at night (times:01-06)
-- Job Settings
Config.SharedKeys = { -- Share keys amongst employees. Employees can lock/unlock any job-listed vehicle
['police'] = { -- Job name
requireOnduty = false,
vehicles = {
'police', -- Vehicle model
'police2', -- Vehicle model
}
},
['mechanic'] = {
requireOnduty = false,
vehicles = {
'towtruck',
}
}
}
-- These vehicles cannot be jacked
Config.ImmuneVehicles = {
'stockade'
}
-- These vehicles will never lock
Config.NoLockVehicles = {}
-- These weapons cannot be used for carjacking
Config.NoCarjackWeapons = {
"WEAPON_UNARMED",
"WEAPON_Knife",
"WEAPON_Nightstick",
"WEAPON_HAMMER",
"WEAPON_Bat",
"WEAPON_Crowbar",
"WEAPON_Golfclub",
"WEAPON_Bottle",
"WEAPON_Dagger",
"WEAPON_Hatchet",
"WEAPON_KnuckleDuster",
"WEAPON_Machete",
"WEAPON_Flashlight",
"WEAPON_SwitchBlade",
"WEAPON_Poolcue",
"WEAPON_Wrench",
"WEAPON_Battleaxe",
"WEAPON_Grenade",
"WEAPON_StickyBomb",
"WEAPON_ProximityMine",
"WEAPON_BZGas",
"WEAPON_Molotov",
"WEAPON_FireExtinguisher",
"WEAPON_PetrolCan",
"WEAPON_Flare",
"WEAPON_Ball",
"WEAPON_Snowball",
"WEAPON_SmokeGrenade",
}