Milliseconds between updates the playing player sends
Police alerts
Alerts go through the dispatch script tr_core finds: tk_dispatch, cd_dispatch3d, rcore_dispatch, core_dispatch, qs-dispatch, cd_dispatch, ps-dispatch, origen_police or lb-tablet. Without one, on-duty police get a notification and a map blip.
Alert
When
lockpickAlarm
A car alarm goes off at the lock: a snapped pick, or a picked car whose alarm was armed
hotwireAlarm
A failed hotwire sets the alarm off
hotwired
A car is hotwired
siphoned
A player finishes siphoning
Each alert has these settings:
Setting
What it does
enabled
false turns the alert off
chance
Percent chance it's sent
code
The code police see, such as '10-16'
priority
'low', 'medium' or 'high'
radius
Metres across the area police see. The car is somewhere inside it, not at its centre
time
Minutes the alert stays on the map
cooldown
Seconds before the same car can alert again
police.jobs is the jobs that get the alerts. Their text is under alerts in locales/en.json.
Hotwiring
Setting
Default
What it does
enabled
true
false turns hotwiring off
key
'G'
Default key. Players can rebind it in Settings › Key Bindings › FiveM
command
'hotwire'
The chat command
item
'wire_strippers'
Item needed to hotwire, false for none
breakChance
0.35
Chance the item breaks when an attempt fails
giveKeys
false
true gives keys after a hotwire with every keys script. Keys scripts that need them get them anyway. See Hotwiring and keys
devMode
false
Admins can hotwire any car and get the fitting tools. Keep it off on live servers
maxStrikes
3
Mistakes before the attempt fails and the alarm goes off
timeLimit
240
Seconds before an attempt expires
alarmTime
30
Seconds the alarm sounds after a failed attempt
shockDamage
8
Health lost to a short circuit
vehicleTypes
{ automobile = true, bike = true }
Which vehicle types can be hotwired
excludeModels
{ 'oppressor', 'oppressor2' }
Models that can't be hotwired
screws.turns
4
Full turns to undo a screw
screws.maxSpeed
3.5
Turns per second before the screwdriver slips
strip.maxSpeed
0.05
How fast the insulation can be pulled before the copper is nicked
crank.earliest / crank.latest
900 / 2200
The engine catches at a random time between these (ms)
crank.window
800
Milliseconds the engine stays catchable; holding longer burns the starter wire
minTime
10
Seconds: a faster success is rejected as cheating
minBikeTime
8
The same, on a motorcycle
minRewireTime
5
The same, when the cover was already off
minReconnectTime
3
The same, when the car was hotwired before
Where the steering column sits in a car (rig, classFits, vehicleFits), the switch block on a motorcycle (bikeFits) and the cameras are set up for every vanilla vehicle already. See Fitting the column to adjust one.
Lockpicking
Setting
Default
What it does
enabled
true
false turns lockpicking off
key
'G'
Default key: on foot it picks a door, in the driver's seat G hotwires
command
'lockpick'
The chat command
prompt
true
Show "Press G to pick the lock" next to a locked door
target
true
Add "Pick the lock" to car doors with ox_target or qb-target
item
'lishi_pick'
Item needed to pick a lock, false for none
breakChance
1.0
Chance the pick is lost when it snaps
devMode
false
Admins can pick any lock and get the fitting tools. Keep it off on live servers
vehicleTypes
{ automobile = true, bike = true }
Which vehicle types have a lock to pick
excludeModels
{ 'oppressor', 'oppressor2' }
Models without a lock
doors
{ 'dside_f' }
Which doors have a lock: dside_f, pside_f, dside_r, pside_r
reach
1.3
Metres from the lock you can start picking
maxStrikes
3
Times the pick bends before it snaps
timeLimit
180
Seconds before an attempt expires
jamTime
120
Seconds a lock stays jammed by a snapped pick tip
alarmTime
30
Seconds the alarm sounds
defaultAlarm
0.2
Chance the alarm goes off when a picked door is opened
classAlarm
per class
The same chance, per vehicle class
liftSensitivity
1.0
How far the mouse lifts the pick
torch
0.6
A soft light so the lock can be read at night, 0 for none
minTime
6
Seconds: a faster success is rejected as cheating
Difficulty
How hard a lock is depends on the car's class. Every lock has 8 wafer positions; cheaper locks leave some empty.
How far (mm) a set wafer can be pushed past the shear line before it jams. Smaller is harder
speed
How fast (mm per second) a binding wafer gives. Smaller is slower and needs more care
classDifficulty picks one of these per vehicle class: compacts are easy, sports cars hard, super cars and emergency vehicles expert, motorcycles (class 8) easy. Classes not listed use defaultDifficulty. modelDifficulty sets single models and wins over the class.
Siphoning
Setting
Default
What it does
enabled
true
false turns siphoning off
command
'siphon'
The chat command
target
true
Add "Siphon fuel" to cars with ox_target or qb-target
item
'siphon_hose'
Item needed to siphon (not used up), false for none
can
{ item = 'WEAPON_PETROLCAN', litres = 20 }
The jerry can the fuel goes into, and how much it holds
devMode
false
Admins can siphon any car, even a locked or running one, and get the fitting tools. Keep it off on live servers