Patrol Gear
Pepper spray, a door ram, wheel boots, a heartbeat sensor, a body scanner, a cell trace laptop, a briefing whiteboard and the taser. Every piece has its own model that is streamed with the job, so nothing extra needs to be installed. Add the items from the Items page and copy the images from the [Images] folder of the resource into your inventory.
Each piece can be turned off with Enabled = false in its file in shared/. Where a permission is listed, it is the grade permission set in the tablet's Access app.
Taser
shared/taser.lua
- Holds 3 cartridges and starts loaded. R loads cartridges (
taser_cartridge) while the taser is drawn. - Each shot fires two probes with visible wires. When both probes hit, the target goes down. While the wires are connected, E gives another cycle (3 extra per cartridge).
- If only one probe connects, get close and drive stun the target to complete the circuit. Drive stuns also work on their own at close range.
- Probes stay in the target and make them bleed until they are removed. Officers use the Remove taser probes target, and the person can pull them out themselves with Y.
- Missed wires are cleared after a few seconds. Moving targets are harder to hit.
- Keys are set under
taserinshared/config_keybinds.lua. - Using another taser script? Set
Config.Taser.Enabled = false.
Pepper Spray
shared/pepperspray.lua, item pepper_spray
- Use the item to hold the can. Aim and hold LMB to spray, BACKSPACE puts it away.
- Spraying uses the canister up (
CapacityMs). The amount left shows on screen. - People hit in the face within
Range(3.5 m) build up a dose: their vision turns red and blinks, they cough and can't sprint, and pastNoAimDosethey can't aim or shoot. It wears off afterDecaySeconds, faster in water or rain. - Masks in
ImmuneMasksprotect against it. NPCs run away when sprayed.
Door Ram
shared/doorram.lua, item door_ram, permission search
- Use the item at a locked door and swing with LMB. After
Hitsswings (3) the door opens. - Works with ox_doorlock doors. A breached door locks itself again after
RelockMs(5 minutes). - Everyone within
BangRadiushears the hits. Breaches are written to the admin log.
Wheel Boot
shared/wheelboot.lua, item wheel_boot, permission impound
- Target a vehicle's wheel and pick Fit wheel boot. Set the release fine (up to
MaxFine) and a reason. - A booted vehicle can't drive away. Anyone can Read boot notice to see the plate, fine, reason and officer.
- The owner picks Pay boot fine to pay from their bank. The boot comes off and the money goes to the department account.
- Officers with the permission can Remove wheel boot at any time.
- Boots are saved, so they stay on after a restart.
Heartbeat Sensor
shared/heartbeat.lua, item heartbeat_sensor, permission detection
- Use the item, then hold RMB to raise the sensor. The screen shows heartbeats in front of you within
Range(35 m), through walls. - People crouching are hidden from it (
HideCrouched). BACKSPACE puts it away.
Body Scanner
shared/bodyscanner.lua, item body_scanner, permission detection
- Use the item, hold RMB to raise it and aim at a person within 3 m. LMB scans, H switches the thermal view.
- The result shows what was found (weapons, drugs, ammo, cash) and where: waistband, back, chest or pockets.
- Which items count as drugs and cash is set in
DrugItemsandCashItems. NPCs carry things at random (NPCchances).
Cell Trace Laptop
shared/calltrace.lua, item trace_laptop, permission detection
- An officer on a phone call keeps the caller talking while another officer uses the laptop and picks that officer from the list.
- Line up the waves for each of the 3 cell towers: A / D for frequency, W / S for phase, hold E to lock. Each tower narrows the search area.
- Finish within
TimeLimitS(45 seconds) and the caller's area is marked on the map, shared with the other units for 90 seconds. If the caller hangs up, the trace is lost.
Briefing Whiteboard
shared/whiteboard.lua
- Place boards from the tablet: Admin > World Builder > Briefing Whiteboard.
- Officers use the Use whiteboard target to draw with a pen, arrows, text, notes and photos (an https image link), with an eraser, undo and clear.
- Everyone nearby sees the board update live. The board is saved and stays after a restart.
AllowPhotos = falseturns off photos.