Home / Documentation / Sal's Kewl Public Safety Simulator
Sal's Kewl Public Safety Simulator — owner's manual
A scene generator for servers with nobody on but responders. It invents incidents for police, fire, EMS and six more services, pages every available unit of the right job at once, and lets however many show up work the scene together. This manual covers installation, operation and every setting for a server owner — and then, from Developers onward, how to write callouts of your own.
New in 0.0.39-beta: license, registration and insurance on a traffic stop, cards that look like real ones with the person’s own photo, and the state your community plays in.
New in 0.0.38-beta: CPR on Sal’s Kewl EMS counts on the call, check them before compressions, no more accidental punches from the menus, the person menu fits somebody who cannot respond, and people on a call answer in character.
New in 0.0.37-beta: cuffs stay on and Put them in the vehicle is in front of you; prisoners go to a marked jail as soon as you mark one; and the reserve unit takes orders (in testing, off until you turn it on).
New in 0.0.36-beta: the taser no longer kills anybody on a call, add-on tasers count, and Sal’s Kewl Hazmat can be linked (in testing, off until you turn it on).
New in 0.0.35-beta: interiors away from the street (bob74_ipl and the like) wait for a way in, and NPC units go through ways in.
New in 0.0.34-beta: K9 gear: a lettered working harness, a leash, a door popper, and a tool to set where the dog rides in each vehicle. Do not restart the resource while a dog is out (why).
New in 0.0.33-beta: K9 partners, in
testing and off until you turn them on; tows and the road crew through
Sal’s Kewl CAD; and
Fusion Water Rescue working our water calls.
Updating? Copy the new folder over the old one, restart,
and open /pssadmin → What’s new. See
Updating, and what’s new.
Overview
Two officers and a firefighter sign on at nine on a Tuesday. There are no civilians. Nothing happens, so after twenty minutes somebody does donuts in the parking lot and logs off.
This resource is the fix for that evening. It invents incidents, pages every available unit of the right job at the same moment, and then gets out of the way: whoever shows up works the scene, and the scene reacts to what they actually do.
Three things make it different from a callout script:
- Nobody is assigned a call. A new incident reaches everyone on duty in that service at once, with a card in the panel, a blip and — if you run the radio — a page. Taking it never closes it to anyone else, and a call nobody takes keeps paging instead of quietly vanishing.
- One scene, worked together. Any number of units attach to the same incident and share one fact board. A plate that comes back stolen, a warrant, a victim in the back bedroom — the instant one unit finds it, the whole crew has it, with that unit's name against it.
- Nothing is on rails. There are no timelines and no beat lists. Every person in a scene carries compliance, flight, violence and honesty values that move. Shout at somebody and compliance drops. Leave them standing alone and flight climbs. Put two units on scene and talk calmly and they settle. The same callout twice is not the same evening.
More than a hundred and eighty calls ship, across nine services: police, fire, EMS, DOT, security, park rangers, lifeguards and the marine unit, animal control, and towing. (Two new sets, the high-risk calls and the newest EMS calls, are off until you turn them on.) Many of them page two or three services as one scene. Every call comes in several versions, picked when it opens, and the page never says which. Some of them are calls where there is nothing there, scored as having been handled properly, because that is a real evening too.
People talk like people. Every person on every call has
their own account and says what they know in their own words; anybody can be
asked their name, for ID, where they live and a phone number; and the
conversation shows on screen as subtitles, with K to
read the last two minutes again. Hands-on actions walk the officer to the
person. /pssguide is an in-game guide for a first shift, and every
player command autocompletes in chat.
Every call comes in versions, and the hard ones can be solved. The shots-fired caller who was the shooter, the “DUI” who is a diabetic, the burglar with a key who used to work there: a question that catches the lie, evidence on the ground you walk to and examine (G), the neighbors canvassed, a plate or a name run. Medics treat and transport, anybody can give naloxone, and a call can turn into another call. Calls with a time window, like the bar fight or the prowler, follow the game clock your players see. Driving up to a call puts you on it only when nobody is working it; joining one somebody is working is Respond.
Backup that comes. “Send me backup”, “start me a second engine” and “start me a medic” page your players first; nobody of that service on duty means “reserve unit responding”: a reserve police unit whose officers stand by with you, an engine company that pulls a line and puts water on the fire spot by spot, or an ambulance whose medics carry the patient to the rig and leave with them aboard. A Roadside Assist tow is on the call with its ETA, and if it falls through ours is sent and you are told. See the reserve unit.
Traffic stops are yours to start, call in and end: U pulls the car ahead over, O points where it pulls up, dispatch knows nothing about the stop until you say so, and some drivers run — see Traffic stops, and the cars that run.
Six more scenarios are not calls at all. A street stop, a
suspicious person, somebody tampering, a fight, somebody running, and
a car pulled out of traffic — started by walking up to
a person or getting behind a vehicle rather than by dispatch. They carry
street = true, which the Director reads as “not yours to
open”, so they never arrive as a page. That is why the boot line counts more scenarios than this page counts
calls: those are scenarios the engine runs, not calls anybody is dispatched to.
Two more are opened by speed cameras rather than by
the Director, and one by z_fire. A street stop can end in a citation or a warning as well as a
release.
It works standalone. It works better next to Sal's Kewl Dispatch, which turns a new incident into a tone-out on the fire pager and a page on the talkgroup, and lets a unit go on scene over the radio. Version 3.10 or later also lets the AI dispatcher page the call and work the same call this resource does, 3.12.0 or later reads the vehicle and plate with the page, answers plate lookups on a stop you called in, and lets a dispatcher take the simulator’s calls on the console, 3.13.0 lets a unit ask the AI dispatcher what’s waiting and take a call on the air, and 3.14.2 reads out the pages of the four newer services and your own and answers “give me a call” — see Dispatch, on the air.
ATTENTION AI USERS. If you run this next to Sal's Kewl Dispatch with the AI dispatcher, every call the simulator generates spends AI credits, as long as at least one unit is signed on who could take it. If you're testing and stay on as a player but walk away (a shower, a run to the store for milk, whatever), the calls keep coming and the AI keeps paging and reading them out, because nothing on the server can tell you're not at the keyboard.
AI usage is included in the base subscription fee for limited amounts and subject to fair use terms. AI pricing and policies may change with at least 30 days' notice to current subscribers. Your dispatch portal shows what you've used and what's left, so check it regularly. We try to be as efficient with the AI as we can, but a server that generates calls all night uses it up all night.
Before you walk away, one command stops it:
/pssadmin pause turns the Director off, so no new calls are
generated (scenes already open are left alone), and
/pssadmin resume starts it again. On the radio's side
/radioai off takes the AI dispatcher down. Note that
/pssoff only silences pages for you — the call
is still created, still paged and still read out, so it does not stop the
spending. If you have suggestions for improving usage or monitoring, tell
us.
This is a 0.0.x build. Versions stay 0.0.x
until the first public release. Everything this manual describes is behavior
that ships; where something is deliberately not modeled yet, it says so.
Requirements
| Server artifact | FiveM build 5848 or newer. The resource uses state bags with a replication filter, which is the one modern-artifact feature it depends on. |
|---|---|
| Framework | qb-core, qbx, ESX, or none. Standalone is supported rather than tolerated: with no framework it falls back to license identifiers, and a player becomes a responder by typing /pssduty police (see A server with no job system). |
Everything else is optional, detected at runtime with
GetResourceState, and not in the manifest's
dependencies. Nothing below is required and the resource is
complete without any of it.
sals_kewldispatch | Pager tone-outs for fire and EMS, talkgroup pages, and radio status in both directions — a unit who says they are on scene over the radio arrives in the scene. Needs only the in-game radio; no subscription. With the AI package, the AI dispatcher works your units on the air; calls arriving as 911 calls the AI takes (Config.Dispatch.Use911) ships off until the voiced caller lands. Take 3.10 with this version when it is released, if you run it: the AI dispatcher paging the call, “start me a second engine”, spoken fire and EMS updates, and a shared call that stays open until its last unit clears all need both sides. An older build still works for everything else. 3.14.2 reads out the security, ranger, marine, animal control and custom-service pages, puts your own services in the call builder, and answers “give me a call”. |
|---|---|
sals_kewljobnotify | Pages go through it when the dispatch resource is absent. |
sals_kewlevidence | Seized property goes into it. Kept in the scene record otherwise. |
wasabi_ambulance | Player medical state is left entirely to it. This resource models NPC patients only and has no path to a player's downed state. |
ox_target / qb-target / qtarget / fusion-target | The third eye on the people and vehicles in a scene, when present. Anything else with qb-target’s API can be added to Config.Integrations.Targets in config.local.lua. The on-screen prompt and the E person menu work alongside it; without a target resource they do the same job on their own. |
ox_lib | Used for notifications when present. |
Installation
- Drop the folder into
resources/assals_kewlpublicsafetysimulator. The folder name matters: it is the resource name the exports and the NUI page are published under. - Add it to your
server.cfg:ensure sals_kewlpublicsafetysimulator - Start the server and open
/pssadminin game. - Tell it which of your jobs are police, fire, EMS and DOT, and security, park rangers, lifeguards and animal control if you run them. This is the one thing nobody can guess for you, and until it is right, pages reach nobody. No DOT job on your server is fine (see DOT, the road crew), and so is having none of the newer four (see Security, rangers, lifeguards and animal control).
- Pick a preset, and change anything you like afterward.
That is the whole setup. There is no config file to edit, no SQL to import, and no permission to grant beyond your own admin.
Admin is the pss.admin ace, your framework's
own admin check, or the server console. If /pssadmin tells you
no, add the ace:
add_ace group.admin pss.admin allow
sals_kewlpublicsafetysimulator.admin works
too, for owners who name aces after the resource the way they do
sals_kewldispatch.admin.
Updating, and what’s new
How to update
- Copy the new folder onto the old one in
resources/, replacing files. Never delete the old folder first: your settings, places and buildings (data/), your own calls (custom/) and anyconfig.local.lualive in it, the download carries none of them, and copying over keeps them all. - Restart the resource
(
ensure sals_kewlpublicsafetysimulator), or the server. - Open
/pssadmin→ What’s new. It is the first page of the Setup tab, read from the README that shipped with the version you are running, and it opens by itself the first time an admin opens Setup after an update. Admins also get a one-time notice in game, and the server console prints UPDATED x → y when the new version first starts. - Do what the notes say for every version you skipped: the last three are below, and older ones that need something from you are in the table after them.
Every new setting arrives with its default, and nothing you saved in the
panel is changed. If data/settings.json is ever lost anyway,
your settings come back on their own (see Your settings, the
data folder, and updates).
The last three versions
0.0.39-beta (2026-11-28):
license, registration and insurance.
The driver hands over all three: a registration card with the owner,
plate, VIN, year, make, model and color, and an insurance card with the
company, policy and dates. The license looks like a real one, with the
person’s own photo taken by the game. A stolen car is registered to
somebody else; an uninsured or unregistered car has no card for it.
Pick your state: San Andreas ships, and
any of the fifty or DC prints that state’s cards in its own look.
One new config key, Config.Documents.State.
0.0.38-beta (2026-11-27): a cardiac arrest that plays right. CPR done on the Sal’s Kewl EMS chart counts on the call (it was scored “Nobody on the chest”); Start compressions is offered once somebody has checked the patient; on a cardiac arrest the caller is doing CPR when dispatch says so. No accidental punches from the wheel, the person menu or the panel, or with a patient within reach. Somebody who cannot respond is not offered ID, a breath test or orders. The reserve unit writes in the case notes. With push-to-talk, people answer what no question covers in character. No config changes; update Sal’s Kewl EMS to 0.6.2-beta with it.
0.0.37-beta (2026-11-25):
custody that holds. Taking hold
of somebody no longer draws handcuffs on them; once cuffed they stay
cuffed through every order; Cuff is not offered twice; an arrest that was
said and run from is finished by the cuffs. Put them in the
vehicle leads the person menu and has a wheel slice, and
G at a car does it. One default
changed: prisoners go to a marked jail once
you mark one (TransportTo = 'auto'). NPC units park near the
person they came for. The reserve unit as a
partner (in testing, off).
Skipping versions: coming from before 0.0.30
Most updates need nothing from you. These older ones do, if you are
jumping past them. Everything else, version by version, is in
CHANGELOG.md in the download.
| From before 0.0.29 | Scan the map again in /pssbuildings: the scan now reads upstairs rooms and buildings that are only an inside. |
|---|---|
| From before 0.0.28 | Open /pssbuildings, scan the map and approve your buildings. A call with somebody indoors opens only at an approved building, and every Setup page says how many calls are waiting. |
| From before 0.0.27, with two fire scripts | Fusion Fires now draws first, then z_fire, then Smart Fires (Which fire script draws). The boot line or /pssdebug integrations says which one draws on your server. |
| From before 0.0.26, with Smart Fires v2 | Smart Fires owns the burn of every fire call (Smart Fires owns the burn). Who owns the burn = off keeps the old way. |
| From before 0.0.22, with z_fire | z_fire’s fires become calls here, and this resource pages fire for them. Set cfg.autoIncidents.dutyAlerts.allow = false in z_fire’s config so nobody is paged twice (z_fire’s fires become calls). |
A config.local.lua that sets the whole Config.Services table | Every service added since (DOT, security, rangers, lifeguards and marine, animal control, towing) stays off until you add its list. Easier: take the table out of the file and tick your jobs on Jobs and duty. |
| From before 0.0.16 | Fires no longer burn out on their own (A spot burns itself out after ships as 0). Run /pssfirecheck once and fix what it flags. Cuffing and the arrest are two steps: a script of your own that reads arrested right after cuffing should read restrained. |
| From before 0.0.15 | A traffic stop starts on the U key. Config.Street.Vehicles.Seconds is gone; take it out of config.local.lua. |
| From before 0.0.14 | A config.local.lua that sets Config.Integrations.Targets replaces our list, which now includes qtarget and fusion-target. Add the names you need, or take it out. |
| From before 0.0.13, with the AI package | Set Dispatch → Open calls as a real 911 call to never yourself. A saved auto is kept, and the AI call-taker then answers a caller with no voice, and bills for it. |
| If you write your own callouts | Run python tools/validate.py before you restart after any update. It names anything the new version reads differently and says what to write instead. See Checking your work. |
Your first ten minutes
1. Point it at your jobs
/pssadmin opens on setup. Jobs and duty is a
grid: a row for every job it can actually see on your server — read out
of qb-core's shared jobs, qbx, or ESX, with how many are on right now —
and a column per service. Tick a job under every service it may work. A
server with police, sheriff and
statepolice ticks all three under Police. Boxes with a dashed
outline are our guess from the job name, and Check all
suggested ticks every one of them. Each click saves. A standalone
server with no job list types its job names into Add a job
name.
New in 0.0.31-beta. One job can work several
services. Mechanics who tow and work DOT are ticked under both
(Check all suggested does it for a job called
mechanic). A player whose job is ticked under more than one
service picks Calls I take on the wheel and is paged only
for those; the pick is remembered for that job, and the last one cannot be
turned off. Nobody can ever pick a service their job is not ticked under, so
a DOT job can never take police calls. They join a call as the service the
call is for, and they count for every service they take, so one mechanic on
DOT and towing makes both kinds of call possible. Nothing changes until you
tick a job under a second service; Config.Services is the same
setting it always was.
And a unit who walks away from the keyboard stops costing you.
One signed-on unit keeps the Director generating calls, and with the AI
dispatcher running every one of those is paged, read out and billed
— all night, for a chair nobody is in. So a unit who has done nothing
in this resource for twenty minutes is asked once, and if they do not answer
within ninety seconds they stop being counted: no pages, not counted by the
Director, and any call they were holding goes back on the board. It never
kicks anybody and never touches their game. Anything at all puts them
straight back, including a status said on the radio, so a unit working a
call over the air is never asked. Three settings on this page, and
/psshere is there for somebody who just wants to say so.
A service with no jobs ticked is a service that is off: no callout led by that service ever runs, and nobody is ever paged for it. That is how you get a police-only server, and it is one of the shipped presets. A callout led by another service that would also page the one you turned off still runs — a structure fire is a fire call that happens to page police, and on a fire-only server it simply pages nobody for the police half.
Everything saved in the panel is live the moment you save it, for every player on the server — the job mapping, the pace, the pager, the water range, all of it. There is no restart and no reconnect. The one setting that does need a restart says so beside its field.
It is saved to data/settings.json, and a spare copy is kept
beside it at data/settings.prev.json. On an update,
copy the new folder onto the old one — never delete the old one
first, which keeps data/ and everything in it.
And if that goes wrong anyway, your settings come back.
Nothing inside the resource folder can survive the resource folder being
deleted, so every save also writes a copy into the server’s own key
store, which is not in this folder. A start that finds
data/settings.json gone and that copy present puts the file
back, applies it, and prints a line saying it did. A genuinely new install
stays quiet, and a real file on disk is never overridden by the backup
— the JSON remains the master, and the one you can read and edit.
Standalone servers have no job list to read. Set the state bag instead, server side, wherever your own duty system lives:
Player(src).state:set('pssJob', { name = 'police', onDuty = true }, true)
Or just type /pssduty police. That command
writes exactly the bag above, from in game, and it switches itself on
automatically when there is no framework. See
A server with no job system.
2. Pick a preset
| Realistic | The default pace. A call every few minutes at most, with ceilings that keep a small department from drowning. |
|---|---|
| Busy city | More calls, more at once. For a server with ten units on. |
| Quiet rural | Long gaps, and a call means something when it comes. |
| Police only | Fire and EMS off. Nothing led by fire or EMS is ever generated, and NPC EMS handles every patient. |
| Fire and EMS only | Police off. Every fire call still runs, including the ones that would page police on a mixed server; the police half pages nobody. |
| Training night | Short intervals and loose caps, for testing or for a drill. |
A preset sets the pace and the ceilings. It never touches your job names — those are yours, and a preset that cleared them would be a trap.
3. Wait, or open one yourself
The Director waits a random interval between IntervalMin and
IntervalMax (four to fifteen minutes by default), and then opens a
call if the ceilings allow it, there is at least one unit of the right
service on duty, and it can find a location that is not too close to anybody.
If you would rather not wait, open one from /pssadmin.
When it cannot open one, it says why. The server console prints
the reason each time it changes — director: no call opened --
21: not enough fire on; 14: not enough police on (on duty: police 0, fire 0,
ems 0) — and Start a call now puts the full
breakdown in your F8 and on the server console: who is on and countable,
which jobs are mapped to each service, whether your job counts, and
every scenario it passed over with the reason. The panel keeps the last
answer under the button.
4. You will be told when there is a newer version
A few seconds after the resource starts it reads one static file, and if you are behind it prints a box in your server console and shows a line at the top of the Setup tab. Once per start, never a nag; up to date prints nothing at all.
Nothing about your server is sent. It is one plain GET of
https://salskewlkorner.com/versions.json — no identifiers,
no player counts, no license key, not even a query string. Open that address
in a browser and you have seen the entire exchange. It never updates anything
on its own, it never stops the resource working (no network, a firewall or a
404 is one debug line and silence), and Tell me when there is a newer
version on the Troubleshooting page switches it off, where off means no
request is made at all.
5. Check what it saw
/pssdiag prints the detected framework, the jobs it mapped, the
catalog it loaded, anything it refused and why, every setting you have changed
from the shipped default, and what the resource has actually done since it
started. It is the first thing to run when something looks wrong, and the first
thing to paste when asking for help. With Sal's Kewl Dispatch installed it also
says whether anybody is signed on to take calls and what the AI dispatcher is
doing, in plain words — see Reading the dispatch
lines in /pssdiag.
How a call runs, start to finish
Worth reading once, because almost every question about the resource is really a question about one of these seven steps.
- The Director opens a call. It picks a callout by weight (nudged a little by priority), picks a location from that callout's location set, and checks the location is between 200 m and 2.5 km from the nearest unit of that service. A call nobody could be paged for is never opened.
- Everybody available is paged. Every on-duty player of the relevant job gets the card, the blip and the notification at the same moment. With the radio running, fire and EMS also get a tone-out and the talkgroup gets a page. Nothing exists in the world yet — the call is one table on the server.
- Somebody responds. They press Respond in the panel and become En Route. Anyone else can respond to the same call at any time, including after it has been running for ten minutes. An unanswered call re-pages every two minutes and expires quietly after fifteen. A call somebody has worked is never expired: expiry is only for calls nobody took.
- The scene stages. The first responder to come within 250 m is the one whose client builds the world: the people, the vehicles, the props, the fire. Before that moment there is no ped to walk off and no fire burning in an empty field. After it, the scene’s people are run by whichever unit is nearest, so the officer driving a prisoner to booking does not take everybody else’s suspects along.
- The crew works it. Mark yourself On scene — refused from more than 250 m out, with “you are not at the scene yet”, from the panel and the radio alike — and the verbs open up. The first unit on scene takes command; any unit can take it from them. Everything a unit does is a server request: the server checks you are on this scene, on scene rather than still driving, in range of what you are acting on, and that the scene allows it — and only then applies the effect. What comes back lands on the fact board for everybody.
- The scene reacts. Rules run once a second and also the instant any fact changes, which is what makes a scene feel like it is paying attention. A fact discovered can escalate the call, open an objective, move somebody's disposition, page another service, or call an NPC unit.
- It closes. When the conditions for one of the callout's outcomes are met, that outcome wins and the scene closes with an after-action report: what was true, what was found and what was never found, who did what, and for a fire, time to water and time to knockdown. By default a call also ends when the last unit on it clears — the officer decides when they are done, not a timer.
The last unit says how it ended. When the last unit on a call somebody arrived at presses Clear — on the tablet or the wheel — they pick a disposition from a list that fits the call and their service:
| Call | Dispositions offered |
|---|---|
| Traffic | Citation issued, warning issued, arrest made, vehicle towed, report taken, no violation, gone on arrival |
| Other police | Arrest, citation, warning, report taken, referred or civil matter, unfounded, gone on arrival, unable to locate |
| Fire | Fire extinguished, rescue made, hazard mitigated, no hazard found, false alarm, turned over to EMS |
| EMS | Patient transported, refused care, treated not transported, lift assist, pronounced, no patient found |
| DOT | Repaired, roadway cleared, hazard marked with repair scheduled, vehicle towed, referred |
What actually happened on the call is listed first and marked — a cuffed
suspect puts arrest at the top, a ticket puts citation there. The disposition goes
on the after-action report beside the call’s own ending. A unit who is not
last, or who clears before arriving, clears straight away. Saying it on the radio
(“unable to locate, I’ll be clear”) still works. A callout may set
its own list with dispositions = { ... }.
Escalation raises the scene level, which re-pages the call. A traffic stop where the driver runs becomes a call every unit hears about — once the officer calls the pursuit in on the radio. That is correct behavior, and it is why a second page for a call you are already on is not a bug.
The panel
/pss, or F6. Five tabs.
It does not have to take your mouse. A full-screen device has to hold the cursor to be clickable, and while any resource holds it the game receives no input at all — which is why the radio cannot be keyed with an MDT open anywhere in FiveM. Press Hands free on the device, or the panel key again, and the cursor goes back to the game: the call stays on screen and readable, the radio keys up, the notebook key works, and you can drive. The panel key brings the cursor back, and a second press closes the panel. The first time the panel goes hands-free it tells you which key gets the mouse back.
Config.Panel.HandsFreeOnOpen | Off. On, the panel opens hands-free every time — the right answer for a server that lives on the radio, where the panel is a display you talk over. Setup always keeps the cursor regardless. |
|---|---|
Config.Panel.HandsFreeOnPage | On. Hands the cursor back the moment a new call pages, because everything an officer wants to do about a new call — key up and answer it, drive — is a game control. |
Calls
At the top, a line saying whether this resource can see you on duty — shown even when everything is fine, because a quiet tab looks identical to a broken one. Then everything holding for your service, newest first, each with its priority badge, the line dispatch gave it, how old it is, how far away it is, and how many units are already responding. Respond attaches you. Set waypoint routes you there without attaching, for when you want to drive past and look first — though a paged unit who stays within fifty meters of a call nobody is working is put on it anyway (see Driving there counts, below). Ping drops a flashing blip that fades on its own — the one to use when you are telling somebody else on the radio where to go.
A call you forgot to clear asks you. A unit still attached to a call but well away from it for five minutes is asked once: “Still on #12? Clear or respond.” Performance → Remind a unit who drove off without clearing is the time, and 0 turns it off.
Scene
The call you are on, and the only screen that matters while you work it. A bar across the top carries your own status and the two lookups — Run them and Run the plate — promoted out of the action list, because on a server with no CAD this resource is the lookup and hunting for it in a grouped list while sitting behind a car is the wrong shape for it.
- What we know — the fact board. Every fact the crew has discovered, in plain language, with who found it. This is the shared brain: it is written on the server, so it is the same for everybody within a moment of being found.
- Units — who is on the call and their status. A star marks whoever has command.
- Objectives — what the scene wants done. Some arrive with the call (knock down the fire); some open when something is discovered (somebody is unaccounted for — search it).
- Actions — what you can do right now, grouped by who or what it acts on. Each person in the scene gets their own heading, with the questions you can ask them at the top and their verbs underneath — which is the order a conversation and a search actually happen in. Everything else sits under the scene. The list is computed on the server for your service and your position, so a button you can see is a button that will work, and the questions change as answers land. A verb you just pressed grays out while it runs.
- Case file — the paperwork the crew has collected. Every ID card anybody on the call has looked at or run is kept here, for everybody on the scene: the fact board rule applied to documents.
- Call for — request an NPC service when no player is covering it, and see its ETA.
- Fire — on a fire call: how many seats are burning of how many, and whether the building is vented.
- Log — the scene's own timeline.
With ox_target, qb-target, qtarget or
fusion-target running, the third eye on a person offers their verbs directly, plus Talk to them, which
opens the panel on that person with their questions in view. Without a target
resource the on-screen prompt does the same job.
A vehicle works the same three ways. Walk up to a car that belongs to the call and the person-menu key offers what you can do with it — Search the vehicle, and whatever else the callout allows; the third eye offers the same if you run one; and it is always in the panel under The vehicle. A person wins when both are in reach, so somebody standing at their own driver's door is still who the key means.
On scene marks you arrived. Take command takes command. Clear detaches you, and by default the last unit clearing closes the call.
Not instantly, though. A worked call that loses its last unit goes back on the other units’ tablets for forty-five seconds first, as a last call that says it is closing unless somebody takes it. That window exists for the unit who was deciding whether to back the primary up: without it the card vanished the moment the primary cleared, and there was no way to take a call you were seconds from taking. Take it in the window and it is an ordinary call that carries on; nobody takes it and it closes with the ending it had earned anyway.
A last call is a card and nothing else. Nothing goes over the radio, no
pager tones out, nothing is handed to the AI dispatcher, and the unit who
just cleared is not shown it — the air heard them clear, and it will
hear the call close. It is only held when somebody else is on to
take it: with one officer on, the call simply closes when they clear.
Paging → Hold a cleared call on the board in
/pssadmin is the window, and 0 turns it off entirely.
The pocket notebook
Separate from the panel, and the thing you will actually read while you work: a lined notebook in the corner that fills in as the case goes. What people said, the license you were handed, what a search or a test turned up, what the rest of the crew found. It shows itself for a few seconds whenever a new line is written, and F7 pins it open or puts it away.
One book per call, shared by every unit on it. Verb results, statements and answers go in the book rather than into a notification that scrolls away — which is the difference between a scene you can follow and a scene you have to remember.
Report
The after-action report of the call that just closed: the outcome and whether it was well handled, what was true, what was found and by whom, what was never found at all, and who did what.
Guide
A guide for a first shift, also opened by typing /pssguide:
going on duty, the panel and hands-free, the notebook, taking a call and
driving up, the radio phrases as your server has them, working the scene and
the person menu, the police actions and use of force, traffic stops, fire
attack and search, patients and the clock, NPC services, and
troubleshooting. Every key it names is the player’s own binding, every
command is the name you gave it, and every number is your live setting
— so a server that renamed a command or changed a distance gets a guide
that says so.
Setup
Admin only. The whole configuration, which is the next part of this manual.
Working with people, and who called it in
Reaching somebody
Walk up to anybody on a scene and the prompt names them. E opens the person menu beside them: who they are, what you already know about them, the actions the server is offering right now, and the questions you can ask. It never takes your mouse, so you can back away mid-conversation or draw.
The key is a real game binding, so a player can move it in
Settings → Key Bindings and the prompt follows. With
ox_target, qb-target, qtarget or
fusion-target running the same actions are on the third eye as
well — both work, and an officer
uses whichever is in their hand.
After an action or an answer, the menu comes back on the same person, so a pat-down, a search and the next question are three presses rather than three walks back up to them. It stays away if you walked off, got in a vehicle or have the panel open (The street → Bring the person menu back after an action, on). Esc closes the menu and nothing else, the menu sits beside the person even on an ultrawide, and from the driver’s seat E and G do nothing here — E is the horn.
What was said, on screen
Every question and its answer shows as a subtitle above the action bar
— officers in blue, everyone else in gold — bright for twelve
seconds and gone after forty-five. It keeps to the two latest exchanges
and no more than a third of the screen’s width, so it never covers the
scene. K (or /psstranscript) brings
the last two minutes back at full size and puts them away again; it never
takes the mouse, so the radio keeps working while you read. The officer who
asked and every unit on scene within earshot see it; a unit still
driving in does not. The notebook still keeps the whole call.
New in 0.0.35-beta. Standing right there, you hear
it. Anybody within 3 meters of the person being questioned, or of
the unit asking, hears the replies and reads both sides on screen, whether
they are on the call or not. Past that, only units on the call and on scene
hear it. Config.Dialogue.NearbyRange sets the distance in meters;
0 keeps a conversation to the units on the call.
| Show the conversation on screen | Config.Conversation.Enabled, on. Off, answers go only in the notebook, as before. |
|---|---|
| Seconds each exchange stays bright | ShowSeconds, 12. |
| Seconds before it leaves the screen | KeepSeconds, 45. K always reaches back at least two minutes. |
| Where the conversation draws | Position: bottom (above the action bar, the default), top, or left beside the notebook. |
| Conversation size | Scale, 1.0 — one number, the same idea as the call card. |
All five are on the Conversation page of
/pssadmin. Config.Conversation.ReviewKey
(K) is only the default key; players move it in
Settings → Key Bindings → FiveM.
Hands on means hands on the person
Cuffing, a pat-down, a search, asking for ID, a sobriety test or CPR first walks the officer to the right spot: behind the person for the cuffs, the pat-down and the search; in front for ID and the sobriety tests; kneeling at the chest for a patient; at the door for somebody in a car. Then both play their half — they turn their back for the cuffs, put their hands up for the pat-down, hand over the card, lie back for CPR. The timer starts when you get there. Walking off, a blocked path, or the person moving calls it off with nothing done. Verbal orders such as Order hands up no longer play a grab.
If they run
Neither one reaches somebody who is running, and that is the point. A flee
is a foot pursuit and it ends one of five ways. Every number is in
Config.Police, and on the Police work page of
/pssadmin.
| Caught | Any unit gets within CatchDistance (3.5 m) for a moment. They surrender and are detained — not automatically in custody, because what happens next is still the officer's call. |
|---|---|
| Tased | A stun-gun hit puts them down for TaserSeconds (25 s) and ends the pursuit. Generous on purpose: a tased suspect who pops straight back up and keeps running is the most complained-about thing in police roleplay. The hit is believed only from an officer holding a stun gun within TaserRange (12 m). Since 0.0.36-beta a taser never kills them. |
| Gave up | A half-hearted runner quits after PursuitGiveUp (90 s), and says so. |
| Escaped | Every unit is farther than LoseDistance (90 m) and they are farther than EscapeDistance (180 m) from the scene. They are gone, and the call records it — an escape is a worse result, not a failure. |
| Lost | Neither caught, nor far enough away to have escaped, nor half-hearted enough to give up — wedged on a fence, say — after PursuitMaxSeconds (240 s). A pursuit always ends. |
Orders still work while they run: Order hands up reaches nine meters from the panel and a compliant answer stops them where they stand.
The person in front of you reacts to you
Every order names the officer who gave it, so with two units on a call the suspect fights, faces and runs from the one in front of him — and that survives a handover. On top of the orders, what the units around somebody are doing moves them:
| A drawn gun | An officer with a firearm out within ArmedUnitRadius (15 m) makes a calm person more compliant and a violent one more likely to run. A stun gun in hand steadies everybody a little. 0 turns the effect off. |
|---|---|
| Left alone | Somebody detained but not cuffed, with no officer within UnattendedRadius (10 m) for UnattendedSeconds (20 s), decides whether to run on their own flight number — and decides again every 20 seconds until somebody comes back. Cuff them, or stay with them. |
| Watching an arrest | Seeing somebody else get cuffed provokes everybody close enough to see it. |
Working a call without the panel
The panel is one way in, not the only one. Everything a unit does on a
call can be said instead, so a server that lives on the
radio never has to open a device. All of it runs through the same resolver a
radio transmission does, so Config.Dispatch.Phrases is your
wording and these are only the defaults.
| “show me en route” | Takes the nearest call holding for you. “I’ll be responding to that” takes the call paged last. |
|---|---|
| “I’ll take the structure fire” / “en route to the crash” | Takes that call, by name or by street, holding or in progress — “crash”, “collision”, “wreck”, “the fire” and the like match the calls they mean. A name that matches nothing gets “which one?” and the list, never a different call. |
| “I’ll back him” | Joins a call already in progress. |
| “show me on scene” / “show me clear” | Arrives you, or clears you and takes you off the call. Dispatch’s own reading of your status decides whether you meant responding or arriving; your words only name the call. |
| “unable to locate, I’ll be clear” | A clear with a disposition — unable to locate, gone on arrival, unfounded, false alarm, all quiet, no contact, handled, report taken — closes the call that way when you were the last unit on it, instead of putting it back on the board. With others still on it, it is a remark and the call carries on. |
| “out with a traffic stop, tag 85-Tango-Paul-Charlie-811” | On a stop of your own: calls it in. Dispatch gets the stop with the plate on it and you on it; nobody else is paged. Saying you are on scene does the same. See Traffic stops. |
| “in pursuit” / “failing to stop” / “10-80” | Pages the chase to every unit and tells the dispatch side. Until you say it, nobody knows. “Pursuit terminated” and “lost them” are remarks on the call. The words are Config.Dispatch.Phrases.pursuit. |
| “Engine 41 has command” | Takes command. You have to be on scene. |
| “put it on my map” | Sets a GPS waypoint to the call. |
| “what do you have on that call” | Dispatch re-reads it: nature, location, who is on it, who called it in, what is established and what is outstanding. |
| “start me a wrecker” | Requests a tow, a coroner, EMS, prisoner transport or a taxi. With Roadside Assist taking dispatch tows, that tow is on your call’s record and ours is sent if it falls through. |
| “start me a second engine” / “start me a medic” | With Sal’s Kewl Dispatch 3.10 or later and the AI dispatcher: pages players of that service onto your call — the cards, the tone-out and the page. Nobody of that service on duty: the reserve engine or reserve ambulance comes instead and dispatch says so. Players paged: it comes behind the grace window and turns around when one of them responds. |
| “send me backup” | Pages your officers. Nobody on: “no police units are available — reserve unit responding”, and a reserve police unit comes and its officers stand by with you; “backup can clear” or the panel’s release reserve unit sends them off. |
| “one in custody” / “report only” / anything else about the call | Goes in the call: the timeline the report is written from, and the crew’s notebook. With Sal’s Kewl Dispatch 3.9.6 or newer, the dispatch call’s own record and the AI’s re-read carry it too. |
| “available for calls” | Unsilences you and pushes what is holding. |
Driving there counts — for a call nobody is working.
The scene is only built for the units on the call, so an officer who heard
the page and drove to the blip without pressing Respond — or whose
“en route” never took — used to arrive at an empty
location. A paged unit on no call of their own who stays within fifty meters
of a call nobody is working yet for ten seconds is marked
responding and told so; driving past is not arriving. Once somebody is on a
call, joining it is a choice — Respond, or “show me backing
Charlie 101” — so officers standing nearby never end up in
somebody else’s conversation and case notes. Paging → A paged
unit who stops within this many meters of a holding call in
/pssadmin is the distance (0 turns it off), and Seconds
inside that distance before it counts as arriving is the wait.
With no radio installed, /pssradio <anything a unit would
say> runs the exact same resolver — which is also the
quickest way to check a phrase list does what you meant.
/pssrespond, /pssarrive and /pssclear
type the first phrase you configured for each of those meanings,
and /pssreport reopens the report of the call that just
closed.
Three things stay on the panel on purpose: Setup, the location editor, and the license a driver hands you. The first two are configuration and the third is a document, and none of them is something anybody says on a radio.
Who called it in
Every call has an answer, and “nobody” is one of them. It is decided when the call opens, it is on the scene timeline and the case file, and dispatch will read it back to you on the air.
| On scene | They are standing there waiting for you. Any scenario with a caller role. |
|---|---|
| By phone | They called it in and left. Dispatch has the name and a callback, because the caller gave it on the 911 call — so you get it from dispatch rather than by finding anybody. |
| Anonymous | No name, no callback, and dispatch says exactly that rather than inventing a caller. |
| Alarm | An alarm company or a monitoring service. Nobody to talk to and nothing to call back. |
| Nobody | Not reported at all — an officer came across it. Every street scenario is this. |
A caller standing on the sidewalk is unnamed until you ask them or read their ID, which is the same rule the rest of the fact board follows. A caller who gave their name to dispatch on the phone is named from the moment the call opens.
Your own callouts can force one with reported_by = 'anonymous'
(or 'phone', 'alarm', 'none'); left out,
Config.Reporting.Weights decides, three to one that somebody left
a name. Config.Reporting.Enabled = false and no call has one.
What a police unit can do
First, talking to them
Talking is not a verb with a progress bar. It is a conversation: pick somebody and you get the questions that make sense right now, and the list grows as you learn things. “Why is it suspended?” does not exist until you know the license is suspended.
Whether they answer honestly is their honesty and their compliance together, so a frightened honest person still says nothing. A lie is not final — the question stays there, so calming somebody down and asking again is the whole mechanic rather than a flavor text. Every answer goes in the notebook, with their name on it.
People tell you what happened in their own words. Every person on every call has their own account, and says each thing they know in a line that fits whether it turned out true or false. Only somebody with something to hide dodges, and they do it in character. Questions you have already asked are checked off and sink to the bottom of the list.
Anybody can say who they are. “What’s your name?”, “Can I see some ID?”, “Where do you live?” and a phone number are on offer for every person, answered off the same identity as their license — so the name they say is the name the card and the radio lookup give. Somebody with a reason to stay unknown, a warrant or a suspended license, may give a false name, and the card catches it.
The glovebox is a decision. When the papers are in the glovebox, the officer chooses: let them reach for it (and see what is in there), have them step out and get it while you watch, or — on some calls — get it yourself. Letting a driver with a reason reach in or walk back to the car alone can end with them running. Each choice ends with the license in your hand and the person identified.
Everything else is a verb: a request the server validates and applies. A verb sets a flag on a person, reveals a fact, or nudges a disposition — that is deliberately all it does. What those mean is the callout's business, through its rules, which is why adding a verb never means editing a callout.
| Verb | Takes | What it does, and what it needs first |
|---|---|---|
| Ask for ID | a person | Against their compliance. Cooperative and they hand you a license — a drawn card with a name, date of birth, license number, address, height, weight, eyes and hair, and whether the license is valid, suspended or expired. Uncooperative and they have not got any on them, and compliance drops. |
| Run them | a person | Needs an identification first. Returns the warrants and flags the callout gave them, named — and files the license in the case file whether or not they handed one over. Radio work: done from the patrol car, within 40 m. Or ask dispatch (with Sal’s Kewl Dispatch, no CAD needed): “Central, run Marcus Webb, 3/4/88” comes back with the warrant first, then the license, and counts exactly as running them here. The name has to be the one on their real card — a false name gets “no return, confirm the spelling” — or what they are (“the driver”) once you have their ID. Plates work the same way. |
| Run the plate | a vehicle | Stolen, unregistered, wanted. From the patrol car, within 40 m. On a call with more than one car, the car you are at is the car you run. |
| Pat them down | a person | Anybody — a resident, a witness, a cooperative motorist — with no detention needed. Outside the clothing, so it finds only what you would feel: a weapon, something hard and bulky. Never a license, a baggie or a phone. It feels what is on that person, from the same pockets a search reads, so a pat-down and a search can never disagree. Somebody who is not detained can refuse, and the refusal goes in your notebook. Feeling something is the justification to search, so the search below stops asking for a detention once a pat down has found one. |
| Search them | a person | Needs them detained, cuffed, arrested or down — or a pat down that felt something. Finds what is actually in their pockets — the pry bar, the flask, the merchandise with the tags still on — and everyday things besides. See What a search finds. |
| Search the vehicle | a vehicle | The same for the car: the open can in the cupholder, the punched ignition, blood on the seat. You have to be at the car. |
| FST: eye test FST: walk and turn FST: one-leg stand | a person | The field sobriety test, in the real order, and the person performs it: an impaired subject walks the line badly and goes down during the balance. Each test is scored in clues — 4 of 6, 2 of 8, 2 of 4 to fail — written in the notebook as you go. An impaired person shows the fail threshold or more; a sober one shows a clue at most, which is nerves or a bad knee and never enough. Needs you to have talked to them first, needs them out of cuffs, and they have to agree to it. |
| Breath test | a person | Gives the number — the three tests above show impairment, and this is what puts a figure on it. Uses a breathalyzer item if your inventory has one — and the item check fails open, so a server with no such item is never locked out. Somebody not in custody can refuse it: the refusal is the fact breath_refused, and it is not final — calm them down and ask again. |
| Order hands up Tell them they are detained Tell them they are free to go | a person | The three orders, and each one is a request with an answer rather than a button that works. The same order gets a different answer from the same person two minutes later depending on how they have been handled. Free to go means they go: on foot they walk off out of the scene; at the wheel they drive off. On a stop of your own, letting the driver go ends the stop. |
| Order them to turn around | a person | “Turn around, hands behind your back,” from where you stand (9 m). Rolled like any order; complying, they turn their back to you, hold still and are detained — so Cuff them is offered next. |
| Tell them to follow you Tell them to stop here | a person | They walk a step and a half behind you — on the cuffed walk, hands still behind their back, when they are in cuffs — until you tell them to stop, take hold of them or put them in a car. Somebody in cuffs or under arrest always follows; anybody else is rolled like any order and can refuse or run. Somebody on the floor gets up first. |
| Have them move their car out of the road | a person standing by their car | New in 0.0.37-beta. “Get in your car and move it to the side of the road.” They get in, pull it to the curb and get back out. Their own car, or the nearest of the call’s cars within 15 m that still runs; not a wreck, and not somebody in cuffs. |
| Have them pull the car to the curb Direct them where to pull over | a person at the wheel | A stopped car still sitting in a lane is told to pull up to the curb, from the window or over the PA (8 m). To pick the spot yourself, press O, look where you want them (the marker follows your view) and press O again; they park there along the road, within 60 m of the car. A driver who will not cooperate stays put. |
| Examine | evidence | Casings, pry marks, a blood trail, a placard on a truck, a doorbell camera. Walk up to it (a faint ring shows when you are close) and press G. What it means goes on the fact board; nothing announces itself. |
| Canvass the area | the scene | Knock on doors, fifteen seconds a block. Each canvass turns up the next thing a neighbor knows, including “nobody on this side saw a car”. On some calls it reads Check the perimeter or Call the keyholder. |
| Go hands on | a person | The middle rung between words and the taser. Needs you to have talked to them or detained them, and you at arm’s length. Rolled like an order: a hand on the shoulder can be pulled away from. |
| Write them a citation Let them off with a warning | a person | How most stops actually end, besides free to go. A citation needs them identified and sets citation_issued; a warning needs you to have talked to them and sets warning_given. Nobody enjoys a ticket; a warning is a kindness, and people notice. |
| Cuff them | a person | Needs them detained, and not already in cuffs. Cuffing somebody standing up and uncooperative is not a given: they may pull away and run, or fight. Down or willing, it is routine. Whatever your server already uses for cuffing gets first refusal. Cuffs hold somebody; they are not the arrest — unless you already told them they were under arrest, in which case the cuffs finish it. |
| Place them under arrest | a person | The arrest, said to their face (3.5 m). Needs you to have spoken to them, or them detained or cuffed. In cuffs, they take it, and cuffs go on if they were not already. Not in cuffs, it is the moment they decide whether to run or fight, rolled like an order — and it stays said: when they are caught and cuffed, that is the arrest. Every ending that counts custody counts cuffed or arrested. |
| Uncuff them | a person | Takes the cuffs and the arrest back off. |
| Take hold of them | a person | Needs them detained or cuffed — or a victim, to walk them away from a hazard. You have them by the arm: they are held at your right side and go where you go, at a walk or a run and through doors, until you let go of them or put them in a car. Cuffs show only on somebody who is cuffed; taking hold does not put them on. Getting into a vehicle yourself lets go of them for that long. |
| Let go of them | a person | They stand where they are, still cuffed. |
| Put them in the vehicle | a person | Needs them cuffed or detained, and you standing at a vehicle. The client says which vehicle (never one of the call’s own cars) and the server checks you are really next to it. In cuffs, it leads the person menu under In custody, has its own slice on the wheel, and G at any car does it. Said out loud: “go ahead and get in”, “get in my patrol car”. |
| Take them out of the vehicle | a person | The door opens both ways. They step out and stand, still cuffed if they were. |
| Transport them in | a person | Needs them cuffed and in a vehicle, and then it is a drive: you in the driver’s seat with them aboard, 100 m from the scene (Config.Police.TransportDistance; 0 brings back the old instant transport). Or ask for the prisoner van and keep working. The custody chain is cuff, take hold, put in the car, drive. With prisoners going to jail, the drive is to one of your drop-off points instead, and the prisoner can be in the car or walked to the door by the arm. |
| Take a written statement | a person | Needs you to have talked to them. Puts what they said on the record and fills in gaps. |
| Photograph the scene | the scene | Puts it on the record. Some callouts want it before they will close well. |
| Seize property | a person | Needs them searched. Takes the items you actually found, by name — everyday things are never seized. Goes into sals_kewlevidence when you run it, and into the scene record otherwise. |
| File the report | the scene | The verb that closes most police calls: several outcomes require it. |
| Set up traffic control | the scene | Any service. Refused where there is no roadway to control. |
| Make entry | the scene | Police can go through a door too, with no irons. Offered on a call that has a door to make entry through, and never on a fire, where it is the fire crew’s job. |
| Check the area | the scene | Any service, on a call with no fire. Finds a hidden person within a few meters of you — the welfare check’s resident, the missing child, the prowler behind the shed, the burglar in the stockroom — and pages EMS once if they are hurt. Offered on any call that could hide somebody, whether or not anybody is there. (It used to be called Search the area.) |
| Request another unit | the scene | Re-pages your own service onto the call, at most once a minute. Not on a private street stop. |
The medical verbs — Check them, Start compressions and Put the AED on them — belong to every service and are in Patients, and the clock on them.
Somebody who cannot respond (unconscious, not breathing, or dead) is not offered anything that needs an answer or a movement from them: no ID, breath test, field sobriety test, orders, detention, citation or statement. Searching them, moving them and every medical verb are still there.
Custody, start to finish
Since 0.0.37-beta the cuffs belong to the person, not to whatever they were last told. Once somebody is cuffed they stay cuffed, hands behind the back, through every order — follow me, stop here, taken hold of, put in the car, taken out of it — until somebody uncuffs them. Somebody who is not in cuffs never shows them. When the cuffs go on, the next step is said on screen: walk them to your car, where G puts them in the back.
Driving them to jail
Until you mark a drop-off point, a transport ends wherever the drive takes it: 100 m from the scene. Since 0.0.37-beta, marking one is all it takes: prisoners then go to the nearest one. To mark your drop-off points:
- Type
/pssscoutand press U. Start a New place and pick Jail or booking (prisoner drop-off). - Stand at the door prisoners go in by and press The drop-off is where I stand. Or put a waypoint on the door on your pause map and press The drop-off is my map waypoint, from anywhere.
- Name it the way an officer would say it (Mission Row, Sandy Shores) and save. Mark as many as you like: the nearest one is used.
From then on, putting somebody in the car sets a blip and a route to the nearest drop-off, and the notebook names it. Transport them in counts once the officer and the prisoner are both within 30 m of it, the prisoner in the car or walked to the door by the arm. Asked for farther out, the route is set again and the answer says so. The call stays up while the prisoner is on the way, however far the jail is. Since 0.0.37-beta the drop-off is ringed in blue on the ground from 150 m out, and inside the hand-over distance G hands the prisoner over, from the driver’s seat or on foot. An admin who puts a prisoner in a car with nothing marked is told where to mark one.
With nothing marked yet, transport works by distance; with
jail chosen, the server console also says so once. The prisoner van is the same
either way: it takes everybody in custody to booking and leaves.
| Where officers take a prisoner | auto (shipped since 0.0.37-beta): to the nearest drop-off point once you have marked one, by distance until then. distance: the drive above is the transport, even with a jail marked. jail: the same as auto, with a console reminder while nothing is marked. (Config.Police.TransportTo) |
|---|---|
| How close to the drop-off point counts as there | 30 m. Make it bigger if the door is far from where cars can park. (Config.Police.DropOffRadius) |
| What the NPC prisoner van is called | “prisoner transport” as shipped. Call it what your officers do: transport wagon, jail bus. The wheel, the panel, the reserve units card, dispatch on the radio and the call notes all use it, and officers can ask for it on the radio by that name. (Config.Police.VanName) |
For a booking script. Every hand-over at a drop-off point fires a server event that a booking resource can pick up, with the call, the prisoner’s name, date of birth and sex, the officer’s server ID and the drop-off point:
AddEventHandler('sals_kewlpublicsafetysimulator:prisonerBooked', function(b)
-- b.sceneId, b.call, b.role, b.name, b.dob, b.sex, b.officer,
-- b.place = { id, label, coords }, b.facts
end)
Everybody in a scene has paperwork
None of these people exist, which is exactly why they need documents. So every person in a call gets a full identity the moment it opens — a name, a date of birth, a license number and class, an address, the physical description off the card, and whether the license is any good.
It is built at the start rather than when somebody asks, because the card has to agree with the call: a callout that rolled a suspended license hands over a card that reads SUSPENDED, and an impaired-driver call produces somebody old enough to have been drinking. The name an officer reads off the card is the same name the radio lookup returns, the same name in the log, and the same name in the after-action report. And the card matches the person: the body is picked before the card is printed, and a driver pulled out of traffic gets a card re-printed to match them.
The card is American by construction: a state driver's license, the date MM/DD/YYYY, the height in feet and inches, the weight in pounds. It is drawn rather than an image, because it carries a different name every time. Since 0.0.39-beta it prints the numbered fields a real US license does (4d DL, 4b EXP, 3 DOB, 8 address, class, restrictions, endorsements, sex, height, weight, eyes, hair), a signature, a ghost photo and the REAL ID star, and the photo is the person in front of you, taken by the game.
License, registration and insurance (new in 0.0.39-beta). Asking for all three gets all three from whoever is at the wheel: the license, a vehicle registration card (the registered owner and address, the plate, a VIN with a real check digit, the year, make, model and color, the fees and expiration) and an insurance identification card (the company, NAIC code, policy number, coverage and dates). The make, model, plate and color are read off the car in the road. The paperwork agrees with the call: in a stolen car the registration is in somebody else’s name, a car with no insurance or no registration has no card for it (the notebook says so), and an expired one is stamped EXPIRED. The insurers are made up and the phone numbers are 555 numbers.
The state on the paperwork
/pssadmin → The people → The state on driver
licenses, registrations and insurance cards
(Config.Documents.State, 'san_andreas').
San Andreas, the game’s own state, ships. A community that plays in a
real state can pick it: any of the fifty or the District of Columbia, by
its name in lowercase with underscores ('new_jersey',
'florida', 'district_of_columbia'). The cards then
read like that state’s: its name, the agencies that issue them, the
shape of its license numbers, and ZIP codes in its range.
Each state’s license has its own look, after what makes the real one recognizable at a glance: how the state’s name is lettered and where, the title band, the colors, the picture behind the fields (mountains, desert, coast, a capitol dome, a bridge), a black-and-white photo where the real card prints one, and the big birth date in the corner. All of it is drawn by us: no real state seal, artwork or security feature is copied, so the card looks right on the street and is no use as a real one. A card keeps the state it was printed in, so changing the setting does not reprint cards already handed out.
People who run, and people who fight
A pursuit is part of the model rather than a cutscene. Somebody whose flight value crosses the line runs, and then: get within about 3.5 m for a moment and they are caught; let every unit get 90 m away and you are losing them; 180 m from the scene and they got away — which is a real ending, recorded as such in the report. A half-hearted runner gives up after about a minute and a half on their own, and a runner nobody catches or loses is counted lost after four minutes, so a pursuit always ends.
On wheels the distances are a car’s
(Config.Police.VehiclePursuit): a driver who runs is caught once
the car has stopped with a unit within 8 m — alongside at
speed is not a catch — and then it is a traffic stop again; lost when
every unit is more than 250 m away, and gone at 600 m from where it
started. A half-hearted runner gives up and pulls over. Dispatch learns about
the chase when the officer says so: see below.
A tased person is incapacitated for a configurable spell, and cuffing somebody who is down is routine. Your server's own cuffing script, taser and jail system keep doing their jobs; this resource asks them rather than replacing them.
Traffic stops, and the cars that run
A traffic stop is the single most common thing a patrol officer does, and it is the officer’s from start to finish: nobody opens it for you, nobody is paged to it, dispatch knows nothing about it until you say so, and it ends when you end it.
Starting one
Get behind any car with your lights on. A steady prompt names the stop key
— U as shipped (Config.Street.Vehicles
.StopKey; players move it in Settings → Key Bindings →
FiveM, “Pull over the vehicle ahead”) — and only
the key starts it. Sitting behind traffic with the lights on, parked
at a scene or driving to a call, starts nothing. Most drivers pull to the
right-hand curb ahead with their hazards on and stay stopped. The reason you
stopped them, when there was one, is on the stop: ambient traffic drives
badly on purpose (a rolling stop, a drift across the line, no lights after
dark) and a car you saw do it carries the violation into the stop.
Where they pull up is yours too. Press
O (“Direct a stopped car where to pull
over”; Config.Street.Vehicles.DirectKey): a marker sits
where you are looking and moves with your view, from the patrol car or on
foot. Press O again and the driver parks there,
along the road, within 60 m of the car. Backspace
puts the marker away. For the first few seconds of a stop the prompt says so.
Have them pull the car to the curb, from the window or over the PA,
moves a car that stopped in a lane without picking the spot.
How they pull over (new in 0.0.31-beta, in testing)
This ships off. Turn on The street → Let
officers pick how a stopped car pulls over in /pssadmin
(Config.Street.Vehicles.PullOverChoices). Off, every stopped car
pulls to the right as it always did.
With it on, the wheel has Pull over how next to the pull-over before a stop:
- Pull to the right and stop.
- Pull to the left and stop, for a freeway’s left shoulder or a one-way street.
- Stop right there, in the lane.
- Follow my lead. The car stops right in front of you
and copies your patrol car: you move, they move at your speed; you stop,
they stop; your turn signal turns them at the next corner. Take them
somewhere safe and get out of your car, and they stay stopped there.
Driving off and leaving them, or ten minutes
(
FollowMaxSeconds, 600), ends it too.
Picking one starts the stop, and the pick is remembered for that
officer for every stop after, so somebody who always wants
“follow my lead” picks it once. An officer who never picks gets
the server’s default (PullOverStyle, right). During a
stop, Direct the driver on the wheel has the same four for
that car only, plus Pull up where I point (the
O key above). A driver who will not cooperate stays
where they are.
The PA costs nothing. Each choice puts the line to say on
your screen — “Driver, pull to the right and stop your
vehicle” — for you to say on the PA in your own voice. With
Play the game’s megaphone line on a pull-over on
(PaVoice, as shipped), the game’s police megaphone plays a
line as well, for the choices it has one for. No AI, no voice service.
Calling it in
A stop you never mention reaches nobody — no page, no blip, nothing on the dispatch side. Say you are on scene, say you are out with a traffic stop, or give the tag (“Central, Charlie 101, out with a traffic stop, tag 85-Tango-Paul-Charlie-811”) and dispatch has the stop: a call on its side with the plate’s record on it and you on it, still with no page to anybody else. From there, run the plate and the driver, ask dispatch what came back, note things on the call, and your clear closes it over there as well as here. Whether the plate is stolen, the license suspended or the driver wanted was decided the moment you lit them up, the same for every unit, and it is what the lookups return.
If they run
Some drivers do not stop. A driver with a reason — a stolen plate, a
warrant, a weapon, somebody written as a runner — may take off when the
lights go on; an ordinary driver never does. You are told they are not
stopping, and dispatch is not. Nothing is paged until you say
it on the radio — “Central, in pursuit”, “failing to
stop”, “10-80” (Config.Dispatch.Phrases.pursuit)
— and that pages the chase to every unit and tells the dispatch side.
The chase ends when the car has stopped with a unit at it (a traffic stop
again), when a half-hearted runner gives up and pulls over, or when they get
away: a stop nobody called in whose car got away ends as got away.
“Pursuit terminated” and “lost them” are remarks on the
call, nothing paged. The same rule covers a dispatched vehicle call whose
car runs.
Which car is it?
On any call with a vehicle in it — a stolen car still being driven,
a crash, a car parked outside an alarm — an arrow at the top of the
screen points at the car with the distance once it is near enough to exist
(about 400 m), and within 150 m a marker floats over its roof.
On by default. The community turns it off, or leaves only the arrow or only
the marker, under Vehicle calls in /pssadmin
(Config.Traffic.Hint); each officer can turn it off for
themselves with Car hint on the tablet’s Calls tab.
Ending one
Let them go, write the citation, give the warning, or say
“clear” on the radio: the stop is written up as whatever you did,
and the driver drives off. A stop is never ended for you; the
one exception is driving off and leaving it more than
Config.Street.Vehicles.Leash (150 m) behind. If the stop
becomes a real call — they run and you call it in, the driver is wanted,
you ask for another unit — dispatch gets it then, with you already on
scene.
The street-stop settings are on The street page
of /pssadmin: the stop key and the direct key, how far behind
the car the key is offered (28 m), how long they take to settle at the
curb, the leash, and the chances that a car you stop is stolen, the driver
wanted, suspended, impaired, carrying, or a runner — all low on
purpose, so running a plate stays worth doing.
Armed suspects and high-risk calls (new in 0.0.31-beta, in testing)
These calls ship off. Turn on Jobs and duty →
Run the twelve armed, high-risk calls in /pssadmin
(Config.Catalog.HighRiskCalls). Off, none of them is ever
paged, and no other call has an armed suspect.
The calls
| Robbery | Armed robbery, bank robbery, armed carjacking, home invasion. |
|---|---|
| Standoffs and crisis | Barricaded subject, hostage situation, armed and suicidal, person with a knife. |
| Shootings | Drive-by shooting, an armed fight outside a bar, a high-risk (felony) vehicle stop, and an active shooter. |
There are 52 versions between them, and each call has one where the
obvious read is wrong: the wrong car, a replica gun, the licensed guard, the
woman with the knife who was defending herself. Time, distance,
containment, talking and less-lethal options are rewarded. Shooting
somebody who had already put the weapon down is always the worst
ending. All twelve carry the tag high_risk.
The active shooter stays off even with the high-risk
calls on. It is the one call close to the line the catalog draws, so it runs
only on a server that chooses it: take active_shooter out of
Config.Catalog.Exclude. The bank robbery opens
only at a place marked with a counter and a lobby
(/pssscout); no bank location ships yet.
Scouting: only three of the new calls need it. Every other new call uses the outside spots you already have. These three open only where a call can go inside a building:
- Armed robbery: an approved store or gas station with a counter. Stores you approved for the holdup alarm already count.
- Bank robbery: a building with a counter and a lobby. No bank ships marked.
- Home invasion: an approved house or apartment, for three of its four versions. The fourth runs anywhere.
Approve buildings in /pssbuildings and mark a counter or a lobby where you stand with /pssscout. Until then those calls simply never open; nothing breaks.
A weapon in their hand
A person on these calls really has one: pointed at an officer, or held on a hostage. Guns are a pistol, revolver, shotgun, rifle and SMG. Held weapons are a knife, switchblade, machete, hatchet, bat, crowbar, hammer, wrench, golf club, pool cue, broken bottle and brass knuckles.
Drop the weapon! (police and security, within 35 m) works or it does not. How likely it is depends on the person, and more officers on scene and repeating the command make it likelier. A violent one with a gun fires at the officers for real damage; anybody holding anything else charges. A refusal is said in their own words.
They stop being a threat when they drop it, when they are tased (the weapon falls), cuffed, or shot. Nobody can be cuffed, patted down or escorted with a weapon in their hand, so the taser is the less-lethal way in. A dropped weapon lies on the ground as a prop to photograph and seize; it is never a pickup.
The settings
| Armed suspects can fire at officers | Config.Police.Armed.Shoot, on. Off keeps the standoffs and takes the gunfire out. |
|---|---|
| How well armed suspects shoot (0-100) | Accuracy, 25. GTA’s own police are about 40. Lower is more forgiving. |
| Shot down at this health | DownHealth, 110, in config.local.lua. |
| A dropped weapon stays on the ground | DropProp, true, in config.local.lua. |
K9 partners (new in 0.0.33-beta, in testing)
K9 ships off. Turn it on at /pssadmin
→ K9 → K9 partners (Config.K9.Enabled). It
has been run on a test bench, not yet on a full server: tracking, the
area and vehicle searches, a bite on a real player and the spoken
commands are the parts least proven. Tell us what you see.
With it on, anybody whose job is ticked under Police (Jobs and duty) and who is on duty has a dog, and anybody whose job is ticked under Fire has an arson dog. Limit it to named jobs, or to an ace, on the same page.
Getting the dog out
Open the wheel and pick K9, then Get the dog out. The first time, you are asked for its name. Breed, what it is trained to find (narcotics, or explosives and firearms) and which menu you use are under K9 → Care → Settings.
Three ways to command it
| The wheel | The K9 slice on the ring you already use. |
|---|---|
| The K9 ring | Hold the K9 key (Settings → Key Bindings → FiveM, “Hold: K9 commands”), flick toward a slice, let go. The eight slices never move, and holding the key and pressing 1-8 picks one without the mouse. /pssk9 opens it typed. |
| Out loud | Where the Voice AI beta is on for your community: hold the talk key and say the dog’s name, then the command. “Rex, heel.” “Rex, track.” “Rex, out.” |
The K9 ring, clockwise from the top: Heel, Come, Stay, Apprehend (it reads OUT while the dog is sent or has hold), Search, Load up / Unload, Obedience and tricks, Care.
Every command can also be typed: /pssk9 heel,
/pssk9 out, /pssk9 track. Bind the ones you want
in F8, once: bind keyboard F10 "pssk9 out".
Apprehend
Aim at the person, or look at them, and pick Apprehend. The dog runs them down and takes hold. A person from a call goes down and stays down, a runner is caught, and a weapon is out of their hand; move in, cuff them, and call OUT. Left alone, the dog lets go after twenty seconds. A real player is held on the ground for up to fifteen seconds and let go, takes no damage unless you set some, and cannot be held again for thirty seconds. The bite does not kill anybody, and the dog is never sent at a victim, a prisoner or another responder on duty. The server decides whether a bite is allowed.
Search
| Track | Take the dog to where the person was last seen. It picks up the trail they left on foot within the last ten minutes (five in rain) and follows it the way they walked. It will not leave you behind; keep up. When it finds them it barks and holds. |
|---|---|
| Area search | No starting point needed. The dog works the wind toward the nearest person who is not already in hand: a runner, somebody hiding, a victim nobody has found. |
| Article search | Finds a weapon somebody dropped. To train, pick Hide a training article here, walk the dog off, and send it. |
| Sniff the vehicle | Stand by the car and send the dog around it. A sit and a stare is a positive alert; no change of behavior is no alert. On a call it alerts on what the call really put in the car; on a player’s car, on the inventory items you list. |
| Check the bystanders | Walks the dog past the people on the call. It sits in front of the one who smells of what it is trained on. |
The arson dog, and the search dog
A fire job gets an accelerant detection dog: a retriever, unless you pick another breed. It heels, tracks, searches and loads up like any other and is never sent at anybody. Once the fire is out, take it to where it burned and pick Work the fire scene (the fourth slice, where Apprehend is on a patrol dog). If the fire was set, the dog sits where something was poured, and what it found is known to every unit on the call. No change of behavior means no accelerant. It will not work a scene that is still burning.
Check the bystanders sits it in front of whoever set the fire. Take a sample, standing where the dog sat, puts the sample on the call’s record. After a fire is out, Area search finds a victim the first search missed and, after a fatal fire, the dead.
A ranger job gets a search dog that tracks and searches and is never sent at anybody.
The vehicle
Load up near your unit: the dog goes to the rear door, which opens for it, and jumps in. Unload brings it back out the same way. It rides lying down, under the roof. A dog resting in the vehicle gets its energy back.
The door popper. Away from the vehicle, the slice reads Pop the door: the door opens and the dog comes to you, from up to 100 meters. Apprehend while the dog is loaded sends it straight from the car.
The gear (new in 0.0.34-beta)
| Harness | Every dog wears a working harness with its job lettered down both sides, a K9 patch and a grab handle on top. A patrol dog wears POLICE on black, an arson dog ARSON on red, a search dog SEARCH on orange. A handler picks another under K9 → Care → Settings → Harness, where the server allows it. |
|---|---|
| Leash | A dog at heel, or sitting or lying beside its handler, is on a leash from the handler’s left hand. It comes off by itself the moment the dog is sent or searches. Unclip it for good under K9 → Obedience, or type /pssk9 leash. |
| The marker | While the wheel or the K9 ring is open, a marker stands over the person the dog would be sent at, and stays for a moment after the send. |
| Handler down | If its handler goes down, the dog comes to them, stays and barks until they are back up. |
Do not restart this resource while a dog is out. A game that has one of this resource’s own props loaded when the resource stops crashes a few seconds later, and a dog that is out always wears one. Restart it with the server, or have handlers put their dogs away first.
Care, tricks and play
Under Care: give water, feed, praise, and Check the dog over for how it is doing. A thirsty or tired dog works worse, and a spent one lies down until it has had water and a rest. It always comes when called and always lets go on OUT. Praise is you petting the dog, and it is how the bond grows.
Under Obedience and tricks → Tricks and play: speak, shake, beg, Fetch (look where you want the ball thrown), a Potty break, and Visit somebody, which sends the dog to sit with a frightened victim or witness until they are calmer.
For server owners
Everything is on /pssadmin → K9: who may run a dog,
the menu, whether dogs may be sent at players and for how long, damage
(none as shipped), trails, the inventory items a detection dog alerts on in
a player’s car, and care (Care off turns water, food and
energy off altogether).
The gear. On the same page: the harness color and
lettering for each kind of dog (six colors, nine letterings), whether
handlers may pick their own, and the harness, the leash, the door popper
(on or off, and how far it reaches), the jump, the marker and the
handler-down guard, each with its own switch. The harness comes in a broad
cut and a slim one; the husky and the retriever wear the slim one, and
Config.K9.Harness.SlimModels lists the models that do. A model
that wears a vest of its own goes in
Config.K9.Harness.SkipModels so it does not get ours on
top.
Where the dog rides, per vehicle. Load the dog into the
vehicle and type /pssk9 fit (admins). Pick Where the
dog rides in this vehicle, move the dog with the keys shown on the
screen and save: every vehicle of that model seats the dog there from then
on. The same tool moves the harness on a dog model it does not sit right
on. The spots are kept in
data/k9_fit.json, which an update never touches; or list them
in Config.K9.VehicleSpots and
Config.K9.Harness.Fit.
Breeds. A new patrol dog is a Rottweiler; a handler can pick a husky, a retriever or the game’s shepherd instead, and the coat. The game itself has no German Shepherd or Malinois (its “shepherd” is an Australian Shepherd). For one, stream a dog model on your server and add it as a line of its own:
-- config.local.lua
table.insert(Config.K9.Breeds, 1, { id = 'gsd', label = 'German Shepherd', model = 'your_model_name' })
A pack that replaces a_c_shepherd needs no line at all: the
shepherd breed becomes that dog. We do not ship a dog model. An add-on
model’s own vest, collar and other parts are stepped through under
K9 → Care → Settings.
For other scripts: IsK9(netId),
K9Status() and (client) K9State(); the dog
carries the state bag k9, and animal control never takes it.
A positive alert sets the fact k9_alert on the call, and a
sample k9_sample, for your own callouts.
Crash investigation
Crashes are worked with tools, and the road settles fault. The trunk of a patrol car holds a measuring wheel and evidence markers, taken the way a firefighter takes the irons off the engine.
- Examine a skid, a yaw mark or a gouge in the road.
- Measure it with the wheel in hand. The length comes back in feet, and on a skid the speed it works out to — the one number no driver on the scene gives straight.
- Mark anything you examined with a numbered evidence marker, and photograph it. The report reads all three.
Fault is established from the damage, a measured mark, a neutral witness, a camera or an admission — never from a driver’s version — and a citation written without it is the poor ending. Twelve crash calls run on it, from a fender bender with a driver who wants to leave to a held fatal scene and a semi with two logbooks. NPCs help with the road and, if you send the reserve unit over the ground, with finding what nobody has looked at. They never measure, mark or decide.
Getting the tools out
With a third eye running (ox_target, qb-target, qtarget, fusion-target) it is all on the eye: the trunk offers each tool while you stand at it, and a mark on the road offers Examine, then Measure with the wheel in hand and Mark with the markers. Without one, stand at the trunk of your patrol car and E takes the measuring wheel or the evidence markers (G moves between them); standing over a mark, G examines it, measures it with the wheel or puts a marker down. The panel offers the same three, and with a reserve unit standing by, Have the reserve unit walk the scene.
Your own patrol cars. The cars that carry the kit are
Config.Investigation.Apparatus, by model; the base-game police
and sheriff cars ship in it. A fleet that is not in it yet can turn
Measuring needs the wheel from the trunk off on /pssadmin
→ Crash investigation and pace the marks out bare-handed. The markers on
the ground are the simulator’s own yellow tents
(Config.Investigation.MarkerModel); a model you set yourself is
kept.
What a search finds
A search used to reveal a fact — has tools
— and write “you find 2 thing(s)” in the notebook. Nothing
was ever in anybody’s hand.
Now the contents come from the scene’s own facts. The
burglary suspect who rolled has_tools has a pry bar and work
gloves on him; one who did not has a phone and a lighter. The drunk
driver has a flask, the shoplifter has merchandise with the tags still on,
the kid with the spray can has two more cans, the robbery suspect has the
bank bag from the register.
This is the part most callout scripts get wrong. One random loot table is how a shoplifter ends up carrying a compound bow: the item has nothing to do with the call, and the search tells the officer nothing about the person. Here, what somebody is carrying is rolled from the same facts the call rolled when it opened, so it can never contradict the scene — the prowler with an innocent explanation never has bump keys, and the shots-fired subject who was setting off fireworks has a bag of spent tubes rather than a pistol.
A clean search is a result
Somebody who turns out to be nobody has a phone, keys and a wallet, and the notebook lists them. Everyday things never reach the fact board and are never seized — so “nothing of interest” reads as an answer rather than as nothing having happened. Turn List everyday items off and a clean search simply says “nothing on them”.
What happens to what you found
It is a fact like any other: on the panel with the name of whoever found it, in the crew’s notebook, and in the after-action report — including “suspect pockets: a pry bar — never found” when nobody searched. Seize takes those items by name and logs them to your evidence resource.
Contents are rolled once per person and never re-rolled: two officers searching the same man find the same pry bar.
Writing your own
A role that declares nothing still gets sensible contents — every
fact it owns is looked up against a built-in map, so has_tools
means burglary tools and open_container means an open can in
every scenario that never thought about it. When a call wants something more
specific, a role takes a pockets table keyed by the fact that
puts the thing in their pocket, and a scenario takes
vehicle_contents for the car:
suspect = {
facts = { 'suspect_armed', 'has_tools' },
onSearch = { 'suspect_armed', 'has_tools' },
pockets = {
has_tools = 'burglary_tools', -- a shipped pool
suspect_armed = { pool = 'firearm', count = { 1, 1 } },
contraband = { 'a bag of pills', 'a glass pipe' }, -- or inline
-- No trigger fact: always considered, gated by when / unless.
{ pool = 'stolen_goods', unless = 'nothing_taken', chance = 0.7 },
everyday = true, -- a phone and keys as well. false to switch off.
},
}
Both are validated at boot against the pool names, so a
typo is refused by name with the file and the reason rather than producing an
empty pocket months later. You can register pools of your own from a file in
custom/:
Pockets.Register('my_pool', { kind = 'contraband', 'a thing', 'another' })
The kinds decide what happens to an item. everyday never
makes the fact board and is never seized; note is a finding but
not property anybody takes (an empty flask); the rest are what
seize picks up.
The pools that ship
Named here because a pool name is the one thing a scenario of yours has to get exactly right, and the boot-time refusal that catches a typo is easier to avoid than to read:
everyday | everyday · glovebox — never a finding, never seized |
|---|---|
note | drinking · phone_not_gun — worth reporting, not property |
tool | burglary_tools · prowler_kit · vehicle_tampering · vehicle_theft_tools |
weapon | weapon_concealed · firearm · fight_weapon · road_rage_weapon |
contraband | narcotics · narcotics_vehicle · pills · overdose_pills · overdose_powder · alcohol_open · alcohol_open_vehicle |
evidence | stolen_goods · shoplifting · robbery_proceeds · spray_paint · fireworks · fraud_kit · blood_evidence · vehicle_theft_signs |
Both settings live on the Police work page of
/pssadmin, and both ship on.
The fire model
A fire is a set of seats — discrete burning spots, each with its own intensity. A dumpster is three seats inside the dumpster the call brings, a room and contents is four, a working structure is a dozen. One model serves all of them. A seat that still counts as burning always looks like it: our flames stop at half size until it is out, and a GTA fire the game puts out on its own is lit again while its seat burns.
- The server owns which seats are burning. That is the authoritative state, and it is what the objectives and the report read. Every client near the scene draws those seats and keeps its own fires in step with the list, because a script fire is local to the client that started it.
- It spreads on a clock. Each burning seat has a small chance per tick of lighting an unlit seat near it. Ignore a kitchen fire and you will be fighting a house.
- It flashes over if it is left long enough, which is the point at which the inside of the building stops being somewhere to be. A room flashes over once, not once per burning spot in it, and the escalation it causes is capped (Highest the call can escalate from flashover, 5).
- It can burn out — off by default. A fire left alone keeps burning until water goes on it; owners
saw fires start strong and die down with nobody on them. Set A spot
burns itself out after above 0 and each spot burns itself out after
that long, scaled by its size, four times longer inside a building, and a
callout’s own
fire.burnoutapplies. Burning out is not a knockdown — the crew gets no credit, and the call’s report says so. 0 turns burn-out off. - Venting halves the spread rate. A real decision with a real effect, not a flavor animation.
- Water is measured, not assumed. We do not rely on the game's own extinguisher behavior against script fires. A client applying water reports it, the server checks the claim against where that player actually is and how long it has really been — per player, against the wall clock, so a modified client reporting faster earns nothing extra — and credits that seat's water budget. A seat goes out when enough water has landed on it.
Which is what lets the report say the true thing afterward: time to water, time to knockdown, and who put it out.
The fire verbs
| Size up | Once per scene, by one person. Reveals what the building is and whether anyone is unaccounted for, and puts it on the board for the whole crew before anybody commits to the interior. |
|---|---|
| Force entry | Makes entry a fact of the scene. |
| Primary search | Finds the people who are in there. Refused while the interior is untenable and unvented — vent it first. A found victim becomes a fact, an objective to remove them, and a page to EMS. |
| Ventilate | Vents the structure. Spread slows. |
| Pick them up | Carries a victim out — somebody hidden in the building or on a fire scene. A patient lying on the sidewalk is EMS’s, not a carry, so it is not offered on an overdose. With no medics on duty, this calls the NPC ambulance. |
| They are deceased | Fire or EMS. Pronounces, and calls the medical examiner. Needs a body: somebody down, already dead, not breathing, or a hurt victim — never a standing, talking suspect. |
| Set an exclusion zone | Fire or police, while the call needs one (the odor of gas, a carbon monoxide alarm). Set from the edge of the scene, not from the meter. |
| Evacuate the occupants | Any service, while the call needs it. Walks out everybody who can walk; the building only counts as clear once anybody hidden inside has been found too. |
| Shut off the utilities | Fire, at the meter, while the call needs it. Some calls rename it — the carbon monoxide alarm says Shut down the source. |
| Shut down and drop the line | Drops the hose line where you stand. Also on a key, J by default, which players can move in Settings → Key Bindings (“Drop the hose line”). The line drops by itself if the firefighter holding it goes down. |
During a primary search the gauge shows searching… 12 s so
a firefighter on the floor can see how long is left. Forward crawls, the
strafe keys turn, and X stands you back up
(players can move it in Settings → Key Bindings, “Stand up
from a primary search”; Config.Keys.StandUp is the default).
Crouch works too, even on a server whose crouch script has taken it over.
Stuck anyway? /psstand always gets you up, and a call that
closes stands its searchers up by itself. Anyone you already found stays
found; start the search again to finish it.
Player medical state is not ours. This resource models
NPC patients only. A downed player is entirely
wasabi_ambulance's business, and there is no path from here into
it.
Air, overhaul and the secondary search
Two things were missing from the fire, and they are the two a firefighter would notice first: there was no clock on the person, and the call ended the moment the last flame went out.
Air
Mask up and you are on a bottle. A gauge sits bottom-left wherever you are — deliberately not tied to the scene marker, because the whole point of it is to be readable deep inside a building, which is exactly where the marker is not. It turns amber at the low-air alarm and flashes red on empty.
| Mask up | Goes on air and starts the clock. An explicit act, because a firefighter decides when they go on air — a model that decided for them would start the clock while they were still pulling a line. |
|---|---|
| Off air | Stops it. Going back in is a fresh bottle’s worth: the apparatus is where air comes from. |
| Change your bottle | At the apparatus. A bottle change you can do standing in the fire is not a bottle change. |
An empty bottle stops you putting water on the fire. Being off air never does — an exterior attack from the yard needs no bottle, and refusing it would be wrong about the job. An empty bottle stays empty: coming off air and back on does not refill it; only a change at the apparatus does.
It never touches a player’s body. Running out of air does not down, injure or kill anybody. Your medical resource owns a player’s body and this one has no path into it — out of air means you cannot work the fire and the screen tells you to get out. That is pressure without reaching into another resource’s state.
Minutes of work in a full bottle is exactly that, and not the number stamped on the cylinder: those are different numbers — a 30‑minute bottle is about fifteen minutes of real work — and the one you mean is how long your firefighters get. 18 is a comfortable interior stretch; drop it to 10 and a bottle change becomes part of every fire.
The call does not end at knockdown
It used to: last spot out, outcome met, call closed, everybody goes home. A real crew is nowhere near done — fire travels in voids and ceilings, and a fire nobody opened up is a fire you come back to.
So knockdown opens two more objectives, and holds the call open while they are outstanding:
| Open up and check for extension | Spot by spot, where it actually burned — the places that never lit have nothing in them to have traveled. It tells you how many are left. |
|---|---|
| Secondary search | The thorough pass. The primary is fast and in the dark; this is the one that is actually complete. Only offered on a call that had a primary search to be second to. |
A spot nobody checked can rekindle. This is the only honest way to make overhaul matter — without it, it is an objective people click through on the way to closing the call, and a crew learns to skip it. It happens once at most, never to a spot that was opened up, and never inside the grace period after knockdown. When it does, the knockdown objective reopens: the panel must not say “fire out” over a burning room. Spots already checked stay checked.
The hold is capped. Five minutes as shipped. A crew that walks away releases the call rather than wedging it open forever, and the after-action report says the objective was never closed — which is a better answer than a scene nobody can ever finish. An admin can always force a call closed regardless.
All of it is on The fireground page of
/pssadmin, and all of it can be switched off.
If you already run a fire script
Smart Fires (v1 and v2), Smart Hose, Sal’s Kewl Fire Hose, SCBA, Fire Supply Line, Fire Tools, Fire Job, z_fire, z_hose, z_ppvfan, z_aerial, zTurnout‑System, Fusion Fires. All optional, all detected when your server starts, and the fire above works exactly as described with none of them installed.
There is one rule behind every setting on this page, and it is worth stating before the table:
This resource stays in charge of the scene. The call, the objectives, the primary search and the after-action report are always ours. What these integrations change is who holds the hose and who draws the flames — not who owns the incident. That is deliberate: the report is the thing you would lose by handing the fire to another script, and the report is the point of the resource.
| Smart Hose (full or Lite) | Their hose puts our fire out. Water is credited at the handline rate, against the seat it actually landed on, and the firefighter is named in the report. The full edition also tells us where the stream is hitting, which is better than our own aiming check — it gets the arcing-over-a-wall case right. The Lite edition needs no setup at all: its hose is a weapon, and we read the weapon. |
|---|---|
| Sal’s Kewl Fire Hose | Ours, and it speaks the same exports Smart Hose does — so it takes the identical path and gets the better half of that integration for free: water credited where the stream actually lands rather than from our own aiming check. Pulling a line completes the water‑supply objective. |
| z_hose | The same, through its own “am I spraying” export. Its pump supply also completes the water‑supply objective. |
| Smart Fires v2 (full) | Owns the fire on every call of ours when neither Fusion Fires nor z_fire is installed (the order): its flames, its spread, its hose, so what the crew sees burning is what the call counts. See below. Fires it starts also become real calls here: see below. |
Smart Fires v1 (the original, folder smartfires) | The server lights one of its fires on each burning seat and takes it away as the seat goes out, so the whole server sees the building burning, not just the crew. Its hose counts, and a seat its hose puts out is knocked down here with the right name on it. It has no incident model, so it is never allowed to own the burn. See below. |
| SCBA (London Studios) | Its PASS alarm is a MAYDAY on the call: on the timeline, on the panel, and shouted to every unit on the call. And it owns air — our own air model stands down so a firefighter has one air clock, not two. |
| Fire Supply Line (London Studios) | A truck near the scene on a hydrant or drafting, pump engaged, establishes the water supply — which is what that objective has always meant, rather than “somebody is holding a nozzle”. |
| Fire Tools (London Studios) | Its spreaders and saw count as our Jaws of Life, its halligan as our irons. A tool is a weapon, and we read the weapon — nothing to configure. |
| Fire Job (London Studios) | Optionally requires turnout gear for the primary search and the attack (Require turnout gear, off by default), and rings its station alarms on every fire page once you list your station ids. |
| z_fire (Zea Development) | Draws every fire call of ours (after Fusion Fires in the order), and its fires become calls here. Every incident z_fire starts opens a call, and the fire stays z_fire’s: its flames, its hose. See below. |
| Fusion Fires (in testing) | Draws every fire call of ours, first in the order, and its fires become calls here, the same way z_fire does. Its fire types decide what puts a fire out. See below. |
| Sal’s Kewl Hazmat (in testing) | Its calls become calls here, and the Director starts hazmat calls on the road that it makes real. Hazmat keeps the spill and the cleanup; the call stays open until hazmat releases the scene. Off until you link it. See below. |
| z_ppvfan | Setting a fan up and running it near the scene vents the building, which halves the fire’s spread. Venting has always been in the model; until now only a callout author could declare a building vented. This makes it something a crew does. |
| z_aerial | A get the aerial set up objective: outriggers on the ground, stick off the bed. Getting the cage above the roof also vents the building — cutting the roof and putting a fan in the door are two ways to do the same thing, and the model only cares that it happened. |
| Fire Tools + Smart Fires | Extrication through their rescue flow: the saw, the door, the carry, the NPC flatbed — performed on the trapped occupant we already spawned, so there is one victim and not two. If anything about it is missing, our own Jaws of Life and carry run instead. |
| zTurnout‑System | Station turnout alerts, for a server with no dispatch resource. |
| Vehicle Rescue (London Studios) | Adds a stabilize the vehicle objective to extrications. The firefighter marks it done rather than us measuring it: that resource publishes nothing a script can read, and we would rather say so than pretend we checked. |
Seeing which script is doing what
While this is a beta, assume the first question in any fire ticket is
“which of these scripts did that”. Type /psstrace only
and the answer prints as it happens: every call to another resource and
what it answered, every page and who carried it, every credit of water and
whose hose it was. Half of it lands in each player’s F8
console rather than the server’s, because half of the decisions are
made there — which script drew the flames, which hose was read and how
the water was placed — and the server cannot see them. The lines
share a prefix so the two consoles read side by side. /psstrace
off when you are done; /pssdebug integrations is the
same picture as a snapshot, for a ticket with no log attached.
The one setting most people need
Everything here is configured from the Other fire scripts
page of /pssadmin. Most of it is safe to leave alone. This one is
not:
Use our own hose — turn it off if you run Smart Hose, Sal’s Kewl Fire Hose or z_hose. Left on, your firefighters can carry two hoses: ours and theirs. Their water counts toward the knockdown either way, so turning ours off costs you nothing.
A fire somebody else started
Smart Fires announces every fire it creates, and two of those are real calls that nobody is normally dispatched to:
- Arson. Somebody sets a fire with a lighter. It becomes a call here — paged, with a size‑up, a primary search, a knockdown objective and a report, and the cause marked undetermined for your PD to work out.
- Explosions. Something goes up in the world and the fire that follows is a call.
Both are on by default and capped like any other call, so a player setting twenty fires gets you a busy shift rather than twenty scenes. Smart Fires’ own random incident spawner is deliberately not adopted — it has one and so do we, and two scripts inventing callouts at once is a shift nobody can keep up with.
z_fire’s fires become calls
If you run z_fire (Zea Development), every fire incident it starts also opens a call here. So police and EMS are paged when the call needs them, the reserve unit comes when nobody is on, it runs on the radio with Sal’s Kewl Dispatch, and it gets an after-action report like any other call.
| z_fire’s fire | The call it opens |
|---|---|
| A building | Structure fire |
| Grass | Brush fire |
| A bin or dumpster | Trash fire |
| A car | Vehicle fire (z_fire), a call that brings no car of its own: z_fire’s car is the fire. Fire, with police for the road. |
The page uses z_fire’s own name and address for it — “House Fire, 14 Procopio Dr, Paleto Bay” — with its description as what was reported. One incident is one call: fires close together open one call, a fire that spreads joins the call it spread from, and the flames z_fire draws for our own calls never come back as a second call.
The fire stays z_fire’s. Its flames, its hose, its incident. z_fire’s own hose works exactly as before; our hose and the reserve engine company put its fires out too. The call’s fire is out when z_fire’s is. We never delete a z_fire fire we did not put out, even when the call closes. A z_fire call stays on the board while the fire burns, and comes off if it goes out before anybody took it.
Who pages fire is your choice. /pssadmin
→ Other fire scripts → Page fire for z_fire’s calls:
| On (the default) | Fire is paged like any other call: card, talkgroup page and tone-out. Turn off z_fire’s own alerts (cfg.autoIncidents.dutyAlerts.allow = false in its config) so nobody is paged twice. |
|---|---|
| Off | z_fire alerts the firefighters, and only the other services the call needs get a card, a page or a tone-out from here. The call is still on the fire board, and a firefighter who drives up to it is put on it. |
On duty here is on duty in z_fire. A firefighter going on
duty here is booked on in z_fire too, and off again when they go off; nobody
books on twice, and somebody who booked on in z_fire themselves is left alone.
It matters because z_fire only starts incidents for a department with somebody
booked on. Pick the department under z_fire department to book firefighters
into (its short code, like LSCFD; empty uses z_fire’s
first). Different fire jobs into different departments is
Config.Fire.External.ZFire.Duty.ByJob in
config.local.lua.
| Make z_fire’s fires into calls | ZFire.Adopt, on. Off and z_fire runs exactly as it did. |
|---|---|
| Page fire for z_fire’s calls | ZFire.PageFire, on. Above. |
| Include the incidents z_fire starts on its own | ZFire.Incidents, on. The fires in its incident list, named from that list. |
| Include fires an admin or another script placed | ZFire.Placed, on. Turn it off if your admins place fires for practice and do not want a call each time. |
| On duty here is on duty in z_fire | ZFire.Duty.Sync, on. |
| z_fire department to book firefighters into | ZFire.Duty.Department, empty. |
| Fires this close together are one call | ZFire.Cluster, 40 m. Advanced. |
| A new fire this close to a call joins it | ZFire.Reach, 40 m. Advanced. Also how close to one of our own fire calls a z_fire fire is left alone. |
All of them are under Config.Fire.External. /pssdebug
prints the z_fire line, and each call it adopted as “adopted from z_fire
(2 of 3 burning)”. No z_fire on your server? Nothing here changes
anything.
Which fire script draws
With more than one fire script installed, the first one found draws every fire call of ours, in this order:
- Fusion Fires
- z_fire
- Smart Fires (v2 owns the burn; v1 draws our rooms)
- our own fire, when none of them is installed
The one that draws keeps the fire — its flames, its spread, its way of
putting a fire out — and we run the call around it: who gets paged, the
units, the people on scene, the objectives and the report. Nobody is paged
twice. Naming one in Who draws the flames on the
Other fire scripts page gives it the job whenever it is
installed, whatever the order says. A call the first one cannot light falls to
the next one in line, not straight to our own fire. The boot line and
/pssdebug integrations say which one is drawing.
z_fire draws our own fire calls
If you run z_fire, every fire this resource generates is drawn by z_fire too — its flames, its hose, its spread — so there is one fire system on the server, not two. There is nothing to turn on. (With Fusion Fires also installed, Fusion Fires draws instead: the order.) We still write the call: who gets paged, police and EMS when it needs them, the reserve unit, the radio, the caller, the report. A car fire burns on the call’s car, a brush fire is z_fire grass, a building fire is z_fire’s interior fire where the room can be found, and a fire that spreads joins the call. Fires lit later (an alarm that turns out to be a fire, a gas leak that flashes, a rekindle) are z_fire fires too.
When the call closes, the fires we started go with it; a z_fire
incident’s own fires are still never deleted unless your crew puts them
out. /pssdebug integrations shows how many are burning. No z_fire?
Nothing changes, except that fires now sit on the ground: flames no longer hang
in the air when the first unit arrives.
Smart Fires owns the burn
With the full Smart Fires (v2) installed, and neither Fusion Fires nor z_fire (the order), every fire call of ours is a Smart Fires fire: its flames, its spread, its hose, its tablet and its live map. What the crew sees burning is what the call counts, and the call’s fire is out when Smart Fires’ is — the same as with z_fire. Nothing to turn on.
The old way had Smart Fires only paint its
flames over our own fire. Our fire then had to be put out by water we could
see, so a crew could be told “3 burning” over flames that looked
out. To keep that old way, set Who owns the burn on the
Other fire scripts page to off. Smart Fires v1
and Lite have no fire engine to hand the burn to, so this does nothing on
them.
The one cost: the after-action report can no longer say precisely who put the fire out, because Smart Fires does not tell anybody which firefighter damaged which flame. Time to knockdown survives. Time to water becomes approximate. We still record every firefighter’s water and still forward it to their fire tagged with that player, so most of the credit survives — but not all of it.
Fusion Fires (in testing)
Still being tested: tell us what you see.
If you run Fusion Fires (fusion-fires), it works the way z_fire
does, with nothing to turn on:
- It draws every fire call of ours. Each burning room is one of its fires, created once by the server on the ground, with its own dispatch alert kept quiet because we already paged the call. When the call ends, the fires we started go with it.
- Its rules put the fire out. Water spreads a chemical fire and does nothing to a live electrical one, so bring foam or the extinguisher. A fire put out comes back as a flare-up if nobody soaks it.
- Every hose works on every fire. Fusion Fires sees the
extinguisher, the
firetrukcannon, Fusion Aerial and fh-firehose by itself. Our handline, other hose scripts, the ReportWater export and the NPC engine company are handed to it. The last unit whose water reached a fire gets the knockdown. - Its own fires become calls. Its automatic fires and
/startfirefires open a call here, with its description as what the caller reported. A fire another script started, or one inside a housing instance, is left to it.
Two settings in Fusion Fires’ own config.lua.
Raise Config.MaxActiveFires: it ships at 20 for the whole
server, and each burning room of one of our calls is one of its fires (60 is
comfortable). Past its cap, a call is drawn by our own flames instead. And
turn off its own alert (Config.Dispatch.inGame.enabled = false),
or turn off Page fire for Fusion Fires’ calls here, so nobody
is paged twice.
On the Other fire scripts page: Make Fusion Fires’
fires into calls, which of its fires (automatic, /startfire,
other scripts), Page fire for Fusion Fires’ calls, and
Send other hose scripts’ water to Fusion Fires — turn that
one off if you run fh-firehose, which reports its own water. Fusion Fires is
first in the order: with z_fire or Smart Fires also
installed, Fusion Fires still draws; set Who draws the flames to
zfire or smartfires to hand the job to one of them.
/pssdebug integrations prints a Fusion Fires line and says, for
each call, whose fire it is.
Sal’s Kewl Hazmat (in testing)
New in 0.0.36-beta. With Sal’s Kewl Hazmat (sold separately) installed, the two can be linked: /pssadmin → Other fire scripts → Link Sal’s Kewl Hazmat. It is off until you turn it on, and with it off the two run side by side and know nothing of each other.
Hazmat owns the incident: the spill, the drums, the tank truck, the meters and the cleanup. This resource owns the call: the page, the board, the CAD and the report.
| Make hazmat’s own calls into calls here | Adopt, on. A call hazmat starts on its own (its timer, an admin, another script) is also a call here: on the board, on the radio for police, in the CAD. |
|---|---|
| Page fire for hazmat’s own calls | PageFire, off. Hazmat already tells its responders about its own calls; on, this resource pages fire as well. The call is on the fire board either way. |
| The Director starts hazmat calls | DirectorCalls, on. Spills, leaking drums, tank trucks and gas leaks on the road, started like any other call and made real in hazmat. Hazmat’s building calls stay its own: they need a place saved inside a building in its panel. |
| Which calls | Calls (in the config file), empty: every road call hazmat has. List hazmat’s call names to keep the Director to those. |
The call stays open until hazmat releases the scene. The
release goes on the call as a note with what was recovered and how long the
crew was on scene. If hazmat does not start the incident for a call of ours,
the call says so and is worked as reported. All of it lives under
Config.Integrations.Hazmat.
Smart Fires v1, the original
Smart Fires is three resources sharing one name. v2 is
the one its documentation describes, with incidents, presets and the tablet.
v1 is the original, under the folder smartfires,
with a different set of exports entirely — and it happens to suit this
resource better in one way: every fire it makes has its own id. So with v1
installed, the server lights one of its fires on each burning seat, shrinks it
as the knockdown lands, and takes it away when the seat goes out. Its fires are
broadcast to everybody, so a passer-by sees the building burning before any
unit is attached. Its hose works on them too, and a seat its hose puts out is
knocked down here, credited to the firefighter on the line.
Two things to know. v1 has no incident model, so Who owns the burn stays off on a v1 server whatever it is set to, and the boot log says so. And v1 cannot tell a lighter from an explosion from the start‑fire command — every fire a player or admin starts arrives as one event — so on v1 the setting that adopts those is Open a call for fires started by hand, and it brings the admin command’s fires with it. Its random spawner is never adopted, same as on v2.
Two more rules, both the same rule
Two hoses is a mess, and so is two of anything else. With SCBA installed, our own air model stands down (SCBA owns air, on by default), because SCBA is a complete air model of its own and a firefighter should have one clock. With Scenario Manager installed, the boot log warns you: it is London’s own callout system, our Director is ours, and running both means two scripts inventing fire calls at once. Turn one off.
Lite editions, and why the boot log matters here
Smart Fires and Smart Hose both ship a Lite edition, under
the resource names SmartFiresLite and SmartHoseLite,
and those do not carry the full versions’ developer exports. A script
asking the full name for something the Lite edition does not publish gets
nothing back — silently, with no error anywhere.
So this resource does not assume. It tries each function once when your server starts, records whether it answered, and says so:
[sals_kewlpss] WARNING: SmartHoseLite is running but
publishes none of the integration exports this resource looks for. That is
expected of the Lite edition. Our own fire is being used, and your hose still
counts.
/pssdebug prints the same thing on demand, along with every
resource name that was looked for. If a fire integration is not doing what you
expect, that is the first place to look — and a renamed resource folder
is the most common cause.
DOT, the road crew
DOT is the fourth service. Tick your DOT jobs under Jobs and duty
(shipped as dot and sadot) and they are paged for
seventeen calls of their own:
| Road work | debris in the roadway · traffic signal out · stop sign down · pothole damaging vehicles · fuel spill · animal in the roadway · guardrail damage · spilled load · flooded roadway · rockslide · tree down across the roadway · work zone intrusion |
|---|---|
| Stuck or disabled vehicles | truck stuck under a bridge · disabled semi in the lanes · stalled vehicle in the lane · vehicle in the ditch · stranded motorist |
Every call has a standard version and two harder ones, and the page never says which: the pothole that is a sinkhole over a water main, the deer that is still alive, the tree lying in the power lines, the driver down the embankment nobody can see from the road, the renter who tries to force the truck through the bridge.
The work is real work
Close the lane first (Traffic control), then walk to the job — the tire tread, the downed sign, the signal cabinet, the grate under the water — and press G. An orange ring marks where the work is once you are close. Each job takes as long as it takes, and most of them refuse until the lane is closed behind you: nobody steps into lane two with traffic still coming through it. A DOT unit can also set a zone, move people out of it and photograph the damage for a claim. It cannot arrest, cite or search anybody. When a call turns into somebody else’s work — a copper thief, a drunk driver, a car down the embankment — DOT pages police, fire or EMS, the way a road crew calls it in.
Who takes a DOT call when no DOT unit is on
Only the stuck- and disabled-vehicle calls go to police.
With no DOT unit on duty (or no DOT job on your server), those five open as
police calls with DOT still on them, so a DOT unit who comes on can take
over. Road work is never sent to police: it waits for DOT, and a server
with no DOT job never sees it. Let police take a stuck-vehicle DOT call
when no DOT unit is on (Config.Catalog.Cover) turns that
off; putting the dot tag in Config.Catalog.Exclude (in your config.local.lua) drops every DOT
call.
On the radio
DOT is paged by text, no tones, on CITY (CITY SVCS, the
dispatch resource’s shipped channel): Config.Dispatch.Talkgroups.dot.
With Sal’s Kewl Dispatch 3.13.0 the AI dispatcher takes a DOT page and
reads it out like a police call, under Read police calls out on the
air, as long as it reads that channel.
Security, rangers, lifeguards and animal control
Four more services, each with its own calls, its own tools and its own lane on the board. Tick their jobs under Jobs and duty. A server without one of these jobs never sees its calls, except the emergencies described below.
| Service | Jobs it ships with | The calls |
|---|---|---|
| Security fifteen calls | security, guard, securityguard | shoplifter being held · unwanted person in the lobby · lost child at the mall · disorderly patron · building fire alarm · warehouse intrusion alarm · door found unsecured · intruder on the yard cameras · suspicious vehicle in the lot · car broken into in the garage · noise complaint at the complex · tailgater at the gate · employee escort to the car · person down in the lobby · graffiti on the building |
| Park rangers ten calls | ranger, parkranger, park_ranger, sapr, gamewarden, game_warden, warden | overdue hiker · campfire during a burn ban · shots fired, possible poaching · disturbance at the campground · vehicle off the trail on a closed fire road · people in a closed area after hours · wildlife in the campground · illegal dumping in the forest · boating complaint on the Alamo Sea · injured climber |
| Lifeguards and the marine unit ten calls | lifeguard, marine, harbor, harborpatrol, coastguard | swimmer in distress · missing swimmer · capsized boat · jet ski collision · shallow water dive · heat emergency on the beach · shark sighting · person off the pier · disabled vessel drifting toward the rocks · disturbance on the beach |
| Animal control ten calls | animalcontrol, animal_control, aco | loose dog · dog bite report · dog attack in progress · dog in a hot car · wild animal cornered in a garage · injured wild animal · animal neglect complaint · barking dog · rattlesnake under the water heater · animal hoarding |
Each call has a standard version and harder ones, and the page never says which: the “shoplifter” with a receipt, the visitor at the gate with a protective order against him, the “drunk” in the restroom who is overdosing.
If your config.local.lua replaces the whole
Config.Services table, these four stay off until you add
a list for each (security, ranger,
marine, animal_control). And a job you already listed
under police stays police: a ranger job under police has to be
moved to be a ranger.
What each of them can do
| Security | Ask for ID, detain, go hands on, cuff, escort, take statements, photograph and canvass, and give a trespass warning. A guard does not arrest anybody, and does not search, run records or write citations. Their own button is Call the police: it pages the police players onto the guard’s call, and with no officer on, the reserve comes (the prisoner van when somebody is already in cuffs). The good endings are a guard who watched, warned, held the right person, got PD, EMS or fire coming, and wrote it up. |
|---|---|
| Park rangers | Sworn officers in the hills, the forests, the lakes and the campgrounds, with every police tool. |
| Lifeguards and the marine unit | Every EMS patient tool, plus the water: Pull them out of the water and Call everybody out of the water. They never arrest; Call the police is theirs too. |
| Animal control | The animal tools below, and a citation for the owner. They never cuff anybody; Call the police is theirs too. |
Each service has its own dispositions on Clear: turned over to police, trespass warning issued, checked and secured, party located, water rescue, swimmers warned, animal impounded, returned to owner, wildlife released.
Animals are animals
A dog, a coyote, a deer or a mountain lion in a call is never talked to, asked for ID or cuffed. Units calm it, put it on the catch pole, dart it, scan it for a microchip, impound it, release it to the wild or return it to its owner. Push one that is ready to bite and it goes for you.
The water
Somebody in trouble in the water is out there for real, on the surface off the beach or the pier, and their clock runs until they are out. Only Pull them out of the water reaches them, by a lifeguard or a firefighter, swimming or by boat. Out on the sand they are a patient like any other. Call everybody out of the water clears a beach. Boats in a call float where the call puts them.
With Fusion Water Rescue (new in 0.0.33-beta)
Fusion Water Rescue (fusion-waterrescue)
works the same call we do. We keep the call: the page, the caller, the
drowning clock, the endings, the report, and the sand. It adds how the
person actually gets out (reach pole, throw bag, rescue boat, a rescue
swimmer), the current, and the car that floats and sinks. It needs a
Fusion Water Rescue version that uses these hooks; without one, nothing
here changes. This link has not yet been run against Fusion Water Rescue
itself.
| Our water calls, its tools | It brings the person out with its own gear and tells us. The rescue is credited to the unit who made it, with how (“pulled in on the throw bag line”) in the notebook and the report. The unit has to be on the call and within 15 m of the person. Fire, EMS and police units on the call count the same as a lifeguard. |
|---|---|
| Hands off | While one of its tools holds a person (on a line, in the boat) we do not pose or move them. When it lets go we take them back as a patient, where it put them. |
| Its incidents, our calls | A player in trouble in the water, a stand-in victim staff placed, or a car that rolled in becomes a call here: Person in the water, Swift water rescue or Vehicle in the water. Lifeguards are paged, and an engine company when no lifeguard is on. A stand-in victim is on our drowning clock and, once out, is our patient. A real player is on the call by name only: their health stays with your medical script. |
| “Pull them out of the water” | Our own quick rescue stays on the person menu. Turn it off on the Water rescue page of /pssadmin to make its tools the only way out. It is never offered on a person Fusion Water Rescue reported. |
| The current | Off as shipped: a swimmer in one of our calls floats where the call put them. Turn on Let its current carry the people in our water calls to let it carry them. |
New places
The beach (eight points from Vespucci to Paleto Bay), the
waterfront (the Del Perro, Chumash and Paleto piers, the La Puerta
marina, the Alamo Sea docks), the parks (the Beaver Bush ranger
station, the Mount Chiliad summit and trailheads, Raton Canyon, Paleto Forest,
the observatory, Tongva Hills), the campgrounds and the
lake. They were authored from sources, not stood on: run
/psspoint on any that look off (see Checking
and fixing locations).
When nobody from that service is on
Only the emergencies another service would be sent to anyway go to it:
| To police | the security calls with a crime in progress (the shoplifter held at the door, the warehouse and yard intruders) · a dog attacking somebody right now |
|---|---|
| To fire | a swimmer going under · a capsized boat · a person off the pier · an injured climber |
Everything else waits for its own service: door checks, escorts, a lost
child, a barking dog. Config.Catalog.Cover turns the cover off, the
same switch as for DOT.
On the radio
All four are paged by text, no tones, on CITY (CITY SVCS) until
you give them a channel: Config.Dispatch.Talkgroups.security,
.ranger, .marine and .animal_control. With
Sal’s Kewl Dispatch 3.14.2 the AI dispatcher reads their
pages out under Read police calls out on the air; with an older build
they arrive as cards only, and everything else works.
Services of your own
/pssadmin → Jobs and duty → Services of your
own: campus police, a harbor patrol, search and rescue — any public
safety job your server runs that is not one of the nine. Name it, pick which
service it acts like on a call (any of the nine, or none; that
decides what its units can do), pick a color, then map its jobs below. It gets
its own lane, a duty slot on the wheel, its own pages (by text on CITY SVCS
unless you give it a talkgroup on the Dispatch page), and it can be asked for on
the radio like any other service. In config.local.lua it is
Config.CustomServices.
Write calls for them on the portal’s call builder. Once your server syncs (Sal’s Kewl Dispatch 3.14.2), its own services are in the builder’s service picker; Or a service of your own writes a call for one before that. A call for a service your server has not added yet waits, and the check says where to add it.
Towing
Towing is the ninth service. Your tow
operators are paged like any other unit, with their own lane on the board,
their own duty slot on the wheel and their own calls. Jobs named
tow, towing, towtruck or
wrecker are found on their own; another name goes under
/pssadmin → Jobs and duty.
| The calls | Each has a standard version and two harder ones |
|---|---|
| The everyday jobs | car in the ditch · stuck on a dirt trail · PD impound · private property impound · repo |
| The heavy ones | box truck on its side · jackknifed semi · bus down at the stop · mixer on its side · over the side of the bridge |
| The odd ones | exotic to the dealer · abandoned RV · motorcycle down · truck wedged in the garage |
The harder versions bring the people that make the job: the driver who has been drinking and wants to drive it out, the rental supercar the GPS sent up a trail, beehives in the box truck, a hazmat placard on the semi, a handgun under the seat of the impound, the owner who runs out while it is on the hook, the repo debtor with a bat, somebody living in the RV, the concrete setting in the drum.
Over the side of the bridge: a loaded dump truck has gone through a bridge rail and is on its roof at the bottom of the bank. Shut down the lane on the bridge, set it back on its wheels, winch it up the bank and take it to the impound lot. The harder versions are a city bus on its side and a split fuel tank leaking into the creek. It takes the heavy wrecker, so rotators work too once their spawn names are in the heavy truck list. It waits for you to mark where the wreck lies under a bridge on your map (see Outdoor places); until then it opens nowhere.
The work
| Winch it out | A vehicle nose-down in a ditch, sunk in the mud, wedged under something or at the bottom of a bank. The winch line runs from your truck. |
|---|---|
| Set it back on its wheels | A vehicle on its side or its roof. |
| Hook it up | With the truck parked beside it. The hook sets a waypoint to the yard the call names. |
| Chain it down | Before you drive. A load that was never chained comes off the truck in the road. |
| Unhook it here | Puts it back on the ground where you stand. |
| Drop it at the yard | At the impound lot, the repair shop, the scrapyard or the dealer the call names. Dropping the last load signs the tow sheet, which is the report. |
All of it is on the panel and the wheel. Tow operators can also photograph, call the police and run traffic control. A call can change its mind about the yard (“take it to my shop”), and the nearest yard of that kind is used.
The right truck for the job
The truck parked beside the vehicle is checked every time:
- A wheel-lift or a flatbed takes cars, pickups, SUVs and vans.
- A heavy wrecker takes anything, box trucks and semis included.
- An exotic or a motorcycle goes on a flatbed or not at all.
- New in 0.0.30-beta. One truck can be more than one kind. Put the same spawn name on more than one list (a rollback with a wheel-lift under wheel-lift wreckers and flatbeds, a rotator with a bed under heavy wreckers and flatbeds) and each job uses the kind that fits the vehicle: the bed first, then the wheel-lift, then the heavy. A flatbed-only car goes on its bed; a semi on the same rotator is hooked as a heavy.
Bring the light truck to a box truck on its side and you are told to go back for the heavy.
Your vehicles, your trucks: /pssadmin → Towing
| Vehicles by size | Small (cars, coupes), medium (SUVs, pickups, vans), large (box trucks, RVs) and heavy (semis, buses, mixers). The tow calls name a size, not a model, and pick from these lists — so your vehicle pack is what turns up. |
|---|---|
| Flatbed only | Exotics and motorcycles: a wheel-lift is refused for these. |
| Your tow trucks | Your wheel-lift wreckers, your flatbeds and your heavy wreckers, by spawn name. Add your addon tow trucks here: a truck on none of the lists cannot hook anything. The same truck may be on more than one list; changes take effect without a restart. The base game’s are towtruck2, flatbed and towtruck. |
| What each truck can take | Shipped as: wheel-lift and flatbed small and medium; heavy wrecker all four. Add large to the flatbed if yours is a big one. |
| The simulator loads the vehicle onto the truck | On (shipped): Hook it up lifts the vehicle onto the bed or the wheel-lift, and Drop it at the yard sets it down behind the truck. Off: your own tow or flatbed script does the loading and unloading, and the simulator never moves the vehicle — it only keeps the tow sheet. Hook, chain down and drop still count, and the vehicle itself has to be at the yard for the drop to count. Winching it out and setting it back on its wheels still move it. (Config.Towing.PlaceLoads) |
| How far an unchained load goes | 60 meters from where it was hooked. 0 turns it off. Does nothing while the simulator is not loading the truck. |
The yards themselves — the impound lots, the repair shops, the
scrapyard and the dealer — are Config.Towing.Yards in your
config file.
An officer’s tow goes to a tow operator first
“Start me a tow” on any call pages your on-duty tow operators.
The county wrecker waits out the grace window and turns around if one takes it.
With nobody on, it is the county wrecker or Roadside Assist, as before
(Page a tow operator when an officer asks for a tow,
Config.Towing.PageForTow, on).
On Clear, the tow operator picks how it ended: towed to the impound lot, a repair shop, the scrapyard or the dealer; recovered and released to the driver; released at the scene for the drop fee; service refused. What happened is suggested first.
Write your own tow calls on the portal’s call builder, or in Lua: see Writing a tow callout.
Slowing and stopping traffic
Any unit on duty, on a call or not, can hold traffic where they stand. Hold Caps Lock for the wheel and open Traffic:
| Stop traffic | The cars around you stop. |
|---|---|
| Slow to 10 / 20 / 30 mph | They crawl through at that speed. |
| Zone size | 25, 50 or 100 m around you. |
| Remove the zone here | Anybody’s zone. Releasing a hold is ordinary. |
| Remove my zones | Every zone you put up. |
It happens on every player’s game, not just yours, and units on duty see the zone on the map: a red circle for stopped traffic, an orange one for slowed. Put up near the call you are on, it counts as that call’s traffic control and comes down when the call ends. Anywhere else it comes down after 30 minutes, or when the unit leaves the server. One unit can have three up at once (a fourth takes down the oldest), and the server 24. Set up traffic control on a call now stops the cars as well.
/psstraffic stop [meters] | Stop traffic around you. |
|---|---|
/psstraffic slow <mph> [meters] | Slow it, /psstraffic slow 20. |
/psstraffic here | Remove the zone you are standing in. |
/psstraffic clear | Remove your zones. |
Settings are on /pssadmin → The street: Units can slow
or stop traffic, Which services may control traffic (empty is every
service), the minutes before a zone comes down by itself (0 keeps it up), zones
per unit, and whether they show on the map. The speeds, the sizes and the
server-wide cap are Config.TrafficZones.Speeds,
.Sizes and .MaxServerWide in
config.local.lua; the command name is
Config.Commands.Traffic.
Buildings: every building a call can go inside
Calls with somebody inside
— the resident down in the back bedroom, the two people in the
elevator, the man hiding in the stockroom — only open at a building
you approved. Buildings is the quick way to approve them. It is its own
window, opened from /pssadmin → Setup → Open
Buildings, or by typing /pssbuildings.
- Press Scan the map. Your game reads every building with an inside on your server: the base game and every MLO you run, escrowed packs included. It takes a minute or two, and the game may stutter while it does.
- Press Approve all the scan is confident about. Those are done.
- Go down To review. For each one, pick what it is — house, apartment building, store with a counter, business or office, bar or club, gas station, warehouse or plant — and press Approve, or Skip it.
- Not sure what a building is, or want to fix it? Take me there puts you inside it with the building open for scouting: a green ring on the floor at every spot a person can be placed, a blue one where units park, a gold one at the entrance, and the keys to change any of it on the right of your screen. Backspace brings you back to the tool. If a spot has no floor under it you are put at the entrance instead, and told.
Buildings that are only an inside
New in 0.0.29-beta. Some buildings are only an inside: an MLO dropped into a building whose outside is a solid shell, with no door you can walk through. Scan the map asks before it starts:
- Only buildings with a door leaves them out, as before.
- Include inside-only buildings too lists each one marked only an inside, with the nearest road standing in for its entrance.
An inside-only building is never “looks right”, so Approve all leaves it for you, and no call puts anybody inside one until you mark a way in. If the scan was wrong and it does have a door, the scout page has a button that says so. Rooms far under their road (the subway, a sewer) and buildings with no road near them are still left out.
The scan also says when a building’s only door is far above or below the street — a tower apartment whose one opening is a balcony. That one is marked check it: set the entrance at the street and add a way in. Since 0.0.35-beta a door far above its road is flagged this way even when nobody set a curb.
Interiors away from the street
New in 0.0.35-beta. Many interiors are not inside the building you see. Interior packs such as bob74_ipl keep them somewhere else on the map: the nightclub sits under the airport, the bunker under the docks, and their own door is underground. The scan finds them, but marks each one Away from the street: needs a way in. It is never “looks right”, so Approve all leaves it for you, and no call puts anybody inside until it has a way in. Before 0.0.35-beta the scan could approve these, and calls then sent units to the street above the room.
The building’s page in Buildings, and the scout page, show the three steps to open one:
- Inside, add a way in. Stand where people should arrive in the room, open the scout page (U) and press Add a way in: units arrive where I stand.
- At the building’s real street door, mark the outside end. Go to the building you want this room to belong to, stand at its door and press Outside is where I stand. The entrance moves to that door by itself.
- Set the curb (G) where units park, and save.
The bar on the right of your screen says which step you are on. A building you approved before 0.0.35-beta whose entrance is under the map now shows Waiting for a way in instead of Approved: give it a way in, or remove it. Once it has one, players and NPC units go through it, and a player standing in that room counts as at the call however far it is from the street.
You never match a call to a building. A call says what kind of place it needs and where its people are. Every approved building of that kind, with those rooms, can host it. Approve a house with a kitchen and a bedroom, and every call that needs a house, a kitchen or a bedroom can use it.
Each building shows:
- A plan of where people can be placed, seen from above, with the entrance and the curb.
- Calls that use the inside here, by name.
- Would also fit with: what it would take to host more (an elevator spot, a back room).
Edit spots does the same as Take me there: the building opens for scouting, to move a spot or mark another room. Remove takes an approved building back off the list. Under the list, Calls waiting for a building names the calls nothing you approved can host yet, and what each one needs.
Calls that wait for a building. Twelve calls where
everybody is indoors wait until a building that fits is approved: elevator
rescue, lift assist, retail theft, robbery alarm, vehicle into a building, disorderly
patron, fire alarm pull, lobby medical, unwanted person in a lobby, armed
robbery and bank robbery (both off until the high-risk calls are on), and
the bridge rollover (which waits for a wreck
spot). Some other calls hold back only the versions that need a
building, such as three of the home invasion’s four. Places you already saved with
/pssscout are already approved. Until the map has been
scanned, and whenever a call has no building that fits, the top of every
/pssadmin Setup page says so in a large notice: how many
calls are locked, which ones, and an Open Buildings
button. It turns red when a building has gone missing.
Buildings are checked again on their own
Whenever somebody is in game, every approved building is checked against the live map: is each of its spots still inside an interior? There is nothing to run.
- A building whose map you removed — or one that came in a shared setup from a server with an MLO yours does not have — turns up under Missing. Calls with somebody inside skip it, and the server log says so by name.
- A single spot that is no longer inside the building is set aside on its own, and shown red on the plan. The rest of the building still works.
- An admin’s game is believed and the result is kept. Any other player’s reading is used only until an admin’s arrives, so a server with no admin on still stops sending people into a missing building.
Inside, outside, or either
Every person in every call we ship says where they are. If you write calls of your own, each person takes one line:
where = 'outside', -- street, yard, lot
where = 'inside', inside = 'bedroom', -- in the building: the call only
-- opens where there is a spot
where = 'either', inside = { 'counter', 'room' },
-- on the spot when the building has
-- one, out front when it has not
A call with several versions is checked version by version: the one
with “the man on his kitchen floor” only plays at a house with a
kitchen, and the others play anywhere. A call of your own with no
where works as it always did.
Your places: buildings with a real inside
Some calls have people inside: the resident down in the back bedroom on a welfare check, the sleeper upstairs on a fire, the passengers in a stuck elevator. Most GTA buildings have no inside at all, so those people are only ever placed on a spot you marked inside a real interior, and a call with inside people only opens at a place that has the spot. Nobody “trapped in the elevator” stands in the parking lot.
These calls wait until you have marked a place for them:
structure fire, apartment fire, commercial fire, CO alarm, alarm sounding, gas leak, elevator rescue and fall/lift assist; hang-up 911, welfare check, burglary in progress and the business alarm. /pssdiag and the scout page list which are
waiting and what each needs. Rather have the calls than the realism? Turn
off Config.Places.InsideOnlyAtInteriors. The bridge rollover
tow call waits too, for a wreck spot.
Scouting with the keys on your screen
New in 0.0.29-beta. While you scout, a bar on the right of your screen says what you can do where you are standing, with the key for it. Everything already marked is drawn where it is.
| Where you are | Key | What it does |
|---|---|---|
| In a building nobody marked | E | Starts a place. What kind it is is guessed from its room names. |
| In one of your places | E | Opens it to change. |
| Inside, with a place open | E | Marks the spot you are standing on. |
| ← → | Changes what the spot is: bedroom, kitchen, counter and so on. Walk into a room named for a bedroom and “bedroom” is already picked. | |
| X | Removes the spot you are standing on. | |
| Outside, with a place open | E | The entrance is here: where responders arrive. |
| G | The curb is here: where NPC units park. | |
| Any time | Enter | Saves. Shown once something has changed and nothing is missing. |
| U | Opens the full scout page: the name, the kind of place, ways in, the extra facts, and the calls that fit. U closes it again. | |
| Backspace | Back to Buildings, when you came from there. |
The bar tells you what still has to be done before the place can be saved. These keys are fixed: they are not in your key bindings, so they work the same for every admin. Nothing is saved until you press Enter or Save on the page.
Ways in: a building with an inside and no door
New in 0.0.29-beta. For a building you cannot walk into, mark a way in. On the scout page (U), open No door to walk through? Ways in:
- Stand where a unit should go in from — the sidewalk at the front, a lobby — facing the building, and press Add a way in.
- Get inside (the Go pill beside any marked spot takes you there), stand where the unit should arrive, facing into the room, and press Inside is where I stand. Save.
- Units get a ring on the ground and a prompt at each end, in and out. Whoever is walking with them — a prisoner on the arm, a patient told to follow, somebody carried — comes through too.
- Walk-through door makes it a door: mark the outside point right at the fake door, turn it on, and walking up to it takes you through with no key press, both directions.
- Ring on the ground switches the ring off for that way in. You still see it while scouting.
- A building can have up to four. Since 0.0.35-beta the inside end can be anywhere on the map, for an interior away from the street; mark at least one spot near where it arrives, or the save tells you to.
- Since 0.0.35-beta NPC units use a way in too.
Config.Places.WaysIn says who gets the prompt:
'duty' (the default: units on duty, and admins while scouting),
'everyone', or 'off' if you already have a teleport
of your own there.
Marking a place on the full page
- Type
/pssscout(admins). Interiors near you appear on the map: yellow is not marked yet, green is one of yours. Every MLO you run counts. - Drive to one, park, and walk in through the front door. Where you walked in becomes the entrance, where responders arrive; where you left the car becomes the curb, where NPC units park.
- Press U. Start a place, name it the way dispatch should say it, and pick what kind of place it is.
- Stand where a person should be and pick what the spot is: a bedroom, the kitchen, a room, upstairs, behind the counter, inside the elevator car, at the bar, a back room. Close the page, walk to the next spot, repeat. Spots can only be marked inside an interior the game knows.
- The page shows, live, which calls can open there and what the near-misses still need. Save, then Test a call here to open one on the spot.
Places are saved in data/places.json, which updates never
touch, and the next call can use one without a restart. A door that
ox_doorlock keeps locked is flagged.
Outdoor places, drop-offs and where the wreck lies
A place with no inside (a stretch of road, a highway, a beach, a jail drop-off) is set where you stand or at your map waypoint. The call happens at my map waypoint puts it on the waypoint from anywhere on the map, and finds the ground there for you. Go and stand on it once to check it.
A road or highway place can also say where a vehicle lies over the side.
Under Off the road (optional), walk down to the bottom of the
drop and press Mark where the wreck lies. The bridge rollover
tow call opens only at a place with this mark, so no bridge is guessed. Until
you mark one, /pssdiag and the scout page list it with the calls
that are waiting.
Let the survey find them
On the scout page, under Places, press Survey the map. Your game reads every building on the map that has an inside — the base game and every MLO you run, escrowed map packs included — and suggests a place for each one: the entrance at the front door it found, the curb at the nearest road, a spot in each room, and what kind of place it looks like. A spot is named from its room when the map maker named it: kitchen, counter, bedroom, elevator, back room. It takes a minute or two, and the game may stutter while it reads each building.
Nothing is saved until you say so. For each suggestion:
- Review opens it in the place editor. Every spot has a Go button so you can stand on it and check it, and mark a better one where it is wrong.
- Accept saves it as it is. It only shows when the suggestion already passes the same checks as a place you mark by hand.
- Go takes you to the entrance, and Skip puts it away.
The list says how sure the survey is. Police and fire stations are flagged
rather than guessed, and a building whose rooms are not named (some map makers
just number them) says it needs you. Spots go in the middle of each room, so
give the big buildings a look before you accept them. Surveying again later
keeps whatever you skipped or saved. The list lives in
data/survey.json.
New: the call builder, in game
Every call already knows where its people, cars and evidence go. When you want them somewhere else at one of your locations — the shoplifter by the door instead of the counter, the crashed car on the shoulder instead of the lane — you move them in game. Nothing is typed, and nothing is a number.
- Go to the location and type
/pssscout(admins), then press U. Open Set up a call. The page says where you are and lists the calls that can happen there. - Pick a call. Every part of it is listed: the people, the vehicles, the scenery, the evidence, the work in the road, the fires.
- Press Show me the call. See-through copies of every part stand where they go, with their names over them. Close the page and walk around.
- Press Place on a part. The page steps aside and a copy follows where you look. A green ring means it can go there; red says why not. E puts it there, the scroll wheel or the arrow keys turn it (hold Shift for small steps), G puts it where you stand, X cancels. Page Up and Page Down move it to the floor above or below: the body upstairs, the evidence in the basement, the car on the garage’s top deck. The label over the copy says which floor it is on.
- Check this call lists every part with OK, Look or Fix: a part that must be placed and is not, two people on one spot, a mark for a part the call no longer has, and — measured in your game at each spot — no floor under it, inside a wall, in water. A few parts only one version of a call has must be placed before that version opens there — the car down the embankment on Guardrail damage is one. Those show as Look: the call still opens, just not that version.
- Test it now opens the real call there, with everything where you put it, then checks it: every person, car and thing is looked up where it actually ended up. What landed when it opened lists any that fell to the floor below, ended up on a roof, were pushed out of a wall or were never created. Undo puts one part back; Start over here puts them all back.
Everything is on the wheel. While you set up a call, hold Caps Lock: Place a part (the closest first), Check this call, Test it now, Show me the call, Share this call. While a part is being placed the wheel is Floor up, Floor down, Turn left, Turn right, Put it here, Face me, Where I stand / Where I look, and Cancel. While you walk an outline: Corner here, Undo corner, Finish the outline.
What you place is for that call at that location only, and for every
version of the call. It is kept in data/layouts.json, which
updates never touch. Copies are only on your screen; nobody else sees them.
Something you placed off the street is held where you put it when the call
opens until the floor under it has loaded, so nobody drops through a floor
that was not there yet.
A person you have not placed stands where the call puts them by default. If that spot is inside a wall at your location, they are moved to the nearest open spot when the call opens. If that is still not where they belong, place them: that spot is used every time after.
Checking every setup at once
/psslayoutcheck (admins) checks every call you have set up,
one after another: it moves you to each location, measures every spot, opens
the call, checks what landed, and closes it again. Backspace
stops it. /psslayoutcheck measure only measures;
/psslayoutcheck <call id> checks one call. The report is on
the server console and in data/layout-check.json. Typed in the
server console it runs the server’s half with nobody connected, and a
resource can ask the same from Lua with the CheckLayout export.
Sharing a setup with another server
Share this call (on a call’s page, or the wheel)
shares everything set up for one call: where its parts go at each location,
the areas drawn for it, where it may happen, and any of your places it uses.
Share everything (the Share tab) shares all of it. Either
way you get a code to paste into Discord, and the same thing
as a file, data/shared-<name>.pss.json.
To bring one in, open Share, paste the code (or put the
file in your data folder and type its name) and press
Read it. The page shows what it would do — each call,
each location, the areas, the rules — and nothing changes until you
press Import. A code is only positions, names and areas:
nothing in it can run on your server, every value is checked as if you had
placed it yourself, and a code that was cut short or changed is refused
whole.
Areas: where calls happen, and areas inside a call
Open the Areas tab. Name an area, then either stand in
the middle and pick a size (a block, a neighborhood, part of town, a whole
region) and save the circle, or press Start walking the edge
and press E at each corner as you walk or drive
round it, Backspace to undo a corner,
Enter to finish. Areas are kept in
data/areas.json.
On a call’s page in Set up a call, Where this call can
happen lists your areas twice: under Only inside to
keep the call in them, or under Never inside to keep it out
(data/callrules.json). Delete an area and any rule that named
it goes away; a call never stops opening because an area was tidied up.
Some calls have an area of their own, shown on the units’ map: the
missing child’s block to canvass and the prowler’s back yards.
Each starts as a circle around the location; stand in the middle and pick a
size, or walk its edge, to redraw it for that location.
/psspartcheck (admins) tests where every call’s parts land
at every location and lists the worst on the server console.
New: the call builder, on the portal
Make a call for your community in a browser, without writing Lua, at dispatch.salskewlscripts.com/builder, signed in with your community’s portal account. Every Public Safety Simulator customer gets one for the builder; building, checking and downloading need no plan.
Making a call
Everything is point and click, in plain words. Nothing has to be typed in the simulator’s own language, though it is always there under Advanced for anybody who prefers it.
- Tell the designer what you want. With the AI on for your community, the home page is a conversation: describe the call in your own words. The designer asks a question or two, with answers you can click, then builds the whole call — people with a story and questions, hidden facts with a way out for each, rules, endings from good to poor, and two versions. One click opens it in the editor, where you can change anything. The designer stays beside the editor: “make the suspect armed one time in four” comes back as a change you apply with one click, and undo with another.
- Or start another way: blank, from a copy of one of our calls (under a new id, or keeping ours so yours replaces it on your server), or from a call file somebody sent you.
- Fill it in on tabs, each with its own color: the call (who is paged, how urgent, where, what dispatch says, when it can come up), the people, what is true, what happens, how it ends, versions, evidence and cars, the scene, the flow, and tests. People, cars and props are picked from lists (“Woman, young: business type”), not typed; where a person is inside is a row of buttons; pockets, what a person says about each fact, questions and follow-ups, evidence, canvass, fire, NPC services, areas and chains are all forms.
- Rules read as sentences: “When the units have found out rear door forced, AND NOT (pried from inside is true): the scene escalates, then the panel says…”. The “when” is built from lists (what is true, what the units know, a person, the scene, a job, the report, an NPC service, time and weather), joined as all-of or any-of, with groups; the “then” is a row per action. Patterns start a rule for you.
- Every change is checked with this resource’s own validator and audit — the same code your server runs, for the version your server runs. The page says plainly what your server would refuse, and why, and Fix it for me asks the designer for the smallest repair.
- Scene shows the parts from above: drag one to move it, R turns it, and a click on an empty spot adds something there. Flow draws what reveals each fact, what each rule reads and does, and which endings need what; anything that can never happen is red.
- Test → Play opens every version of the call forty times with a unit who does nothing and then files a report. It must not close before anybody acts, a lazy report must not score good, and nothing a person or a clue exists to reveal may be known at the start.
- The designer, where the NPC AI beta is on for your community (for now it is included, not charged against your AI plan), also fills a person in, suggests rules and endings for your facts, writes harder versions, and says what is wrong with the call as a call. Every suggestion is checked before you see it, and nothing changes until you apply it and press Save.
Getting it onto your server
Linked to the platform (Sal’s Kewl Dispatch 3.14.0
or newer, linked): press Publish. Your server asks for new
calls a little after it starts, every Config.Builder.EveryMinutes
(5), and whenever you type /pssadmin builder sync. Each call is
checked again on your server — that check is the one that counts
— and what it took and refused shows on the builder page.
Withdraw takes a call back out at the next sync.
Not linked: press Download, put the file
in custom/scenarios/, and type
/pssadmin builder add <file>.
Either way the call arrives switched off. Try it with
/pssadmin start <id> here, then turn it on with
/pssadmin builder on <id> — or
Turn on under From the call builder on
the /pssadmin Setup page — and the Director may open
it. A new version of a call that is on arrives off too, unless you tick
go live directly on the builder page.
A call that keeps one of our ids waits switched off while ours plays, replaces ours when you turn it on, and gives ours back when you turn it off or remove it. A new version that arrives while a scene of that call is open waits for the scene to close.
Where it is kept, and sharing
Your server keeps each call as custom/scenarios/<id>.json,
with custom/scenarios/builder.json listing them, and remembers
which are on in data/builder.json. Updates touch none of them.
To share a call with another server, send the .json file: they
import it on the builder, or add it with /pssadmin builder add.
A call file is data, never code — it can only be a call, and it is
checked before anything is kept.
Commands
| Command | What it does |
|---|---|
/pssadmin builder | The calls from the call builder, each with its version and whether it is on, off or refused (and why). |
/pssadmin builder on <id> / off <id> | Let the Director open a builder call, or stop it. |
/pssadmin builder add <file> | Install a call file you put in custom/scenarios/. It arrives off. |
/pssadmin builder remove <id> | Take a builder call out. If it replaced one of ours, ours comes back. |
/pssadmin builder sync | Ask the portal for newly published calls now. |
Speed cameras
Two kinds. A fixed camera on a pole, placed by an admin
standing where it goes and facing the way it should face:
/psscam add 45, or /psscam add 45 Route 68 at Harmony
to name it (otherwise it takes the street name). They are saved in
data/speedcams.json, so an update never touches them. A
speed trailer is set down on the shoulder by a police or DOT
unit on duty (/psstrailer 35) and picked back up
(/psstrailer pickup). It shows the passing car’s speed over
the sign, and it goes home by itself after two hours or when its unit
leaves.
Nothing is placed until you place it. Speed cameras ship switched on, but a new install has none. Fixed cameras are yours to place once; trailers are your units’ to put out during a shift.
Placing a fixed camera
- Drive to the stretch you want covered and stand on the shoulder where the pole should go, facing along the road. It goes three meters in front of you, on the ground.
- Type
/psscam add 45; the number is the posted limit. It is named after the street you are on, or name it yourself after the limit:/psscam add 55 Route 68 at Harmony. The name is what dispatch says, so make it a place a unit can find. - That is it. It is saved in
data/speedcams.json, which updates never touch, and every player sees it straight away.
Put them where traffic really goes fast and a unit can pull a car over: an on-ramp, a long straight on Route 68, the boulevard everybody treats as a drag strip. A camera watches about 30 m around itself, both directions.
| Change its limit | stand near it: /psscam limit 35 |
|---|---|
| Remove it | /psscam remove |
| See them all | /psscam list — in chat: id, limit, name, and whether it is down |
| Try the repair call | /psscam break vandalized (or failed, struck), then /psscam fix |
Setting down a trailer
Police and DOT on duty: /psstrailer 35 sets one down three
meters in front of you, reading 35. /psstrailer pickup brings
it back. One each. Which services may use them is
Config.SpeedCamera.Trailer.Services.
What a camera does
A camera catches anything going 15 or more over its limit (Speed cameras → How far over the limit is a hit), and it flashes.
| Traffic | Becomes a police call about that car, with the model, paint and plate the camera photographed, on the page and on the car a unit finds. It is a traffic stop with a head start: the driver may be late for work, in a stolen car, impaired, or rushing a woman in labor to the hospital. Half the cars caught become calls (Share of caught traffic that becomes a call), never more than two at once, and never where an incident just was. |
|---|---|
| The same car again | An update, never a second call. Caught by the next camera down the road, the open call moves to where it was last seen, with the new speed and direction, and the units hear “speed camera update: the same vehicle…” on the air. Once a unit is close enough that the car is in the world, the call stays with that car and the update is only said. |
| A player | A lookout on the air: “speed camera lookout: red sports car, plate …, 94 in a 55, northbound at Route 68.” The same car at the next camera is a lookout update. Nobody is fined by a machine, and a responder on duty is never flagged. |
The server measures every speed. A player’s speed is read from their vehicle on the server. A client can only point at an ambient car it saw go past; the server then checks that it is beside the camera, that nobody playing is driving it, and that its own velocity is over the line, and only then believes it.
When a camera goes down
A fixed camera can fail, be vandalized or be hit by a car (about one
chance in twenty an hour; Chance each hour a fixed camera goes
down). A camera that is down catches nothing and is drawn knocked
over, and DOT gets a call to fix it: close the shoulder, open the cabinet,
swap the unit, test it. A vandalized camera is also photographed and pages
police; a struck one has parts in the lane to clear first. On a server with
no DOT job, a camera comes back by itself after 45 minutes. /psscam
break and /psscam fix let an admin try the repair call
out.
The props are base-game stand-ins until custom ones are
installed: Config.SpeedCamera.PoleModel and
Config.SpeedCamera.Trailer.Model take the model names.
The reserve unit, EMS, the engine company and the tow
The problem these solve: a fire callout with a victim cannot close on a server with no medics on, a crash cannot close with nobody to take the car, and an officer alone on a server with one officer has nobody to call. So the resource brings its own — carefully.
Backup, when a page finds nobody
“Send me backup”, “start me a second engine” and
“start me a medic” on the radio (with Sal’s Kewl Dispatch
and the AI dispatcher) page your players first. What happens
next is A radio page that finds nobody gets a reserve unit
(Config.Auxiliary.PageFallback, on):
- Nobody of that service on duty: the reserve unit is sent outright and dispatch says so on the air — “no police units are available — reserve unit responding, about two minutes out” (a reserve engine or reserve ambulance for the other services). With Sal’s Kewl Dispatch 3.13.0 or newer the AI dispatcher says that line itself, in the same breath as the acknowledgment; older versions hear it from the simulator as a line of its own. It is never called an “NPC” on the air.
- Players were paged: the reserve unit is sent too, but waits out the grace window, and a player taking the page turns it around.
- Each service’s own mode still rules: never is never.
The same three are buttons under the panel’s NPC services, for a server with no radio.
- They come only when nobody is covering that job, by default. A server with medics on duty never sees an NPC ambulance.
- Your real units get first refusal. There is a grace period before an NPC unit is even requested, and a medic attaching to the call while an NPC ambulance is still driving turns that ambulance around.
- Nothing spawns on request. A requested unit is a timer and a string: the panel shows an ETA and the world is untouched. Only when it is nearly due does a vehicle appear — out of sight, on a connecting road 150–250 m out.
- It drives one leg only, parks at a curb slot the location author wrote down, and walks the last twenty meters. That is the single biggest reason NPC units in this resource do not end up wedged in a hedge.
- A watchdog fixes a stuck unit with remedies nobody can see, and no scene's completion ever depends on a drive succeeding. If the ambulance cannot get there, the patient is handled anyway and the report says so.
Seven ship, each with its own mode in the settings — on request, when nobody is available, always, or never:
| Reserve police unit (backup) | A second car for the officer whose “send me backup” found nobody — “reserve unit responding” on the air and reserve unit on the panel. It arrives with lights; the officers get out and stand by with you — one follows you, one holds the car — and they leave when you release them (the panel’s release reserve unit, or cancel it on the radio), when the call closes, or after The reserve unit stands by this long (900 seconds). Defaults to when nobody is available: your officers are always paged first and the reserve unit turns around if one responds. |
|---|---|
| Engine company (mutual aid) | For a call with somebody pinned or something burning and nobody from the fire department on it — asked for on its own after Ask for the NPC engine after this long with no firefighter (45 seconds), or by name. It cuts out a driver pinned in a wreck, then pulls a line off the engine and puts water on the fire: a nozzle, a rope back to the pump, a stream you can see, on the nearest burning spot, then the next, through the same water model your firefighters use — so the knockdown is real and the report says the crew did it. Works on our own fire, on Smart Fires v1’s flames and in Smart Fires v2 engine mode. It never searches a building or goes inside. One engine that cannot put a fire out stands down after twenty minutes (NPC engine company water, in handlines, 1.0, and Config.Auxiliary.FireAttack.MaxSeconds). Asked for as backup by name, it stays when a firefighter attaches; sent because nobody was there, it turns around for one. |
| EMS | The medics walk to the patient and kneel. Treats anybody hurt on the call once they can be reached — not while they are still pinned in the wreck or hidden in the building: anybody the call marks as a patient, anybody with a condition, anybody carrying an injury, anybody a responder has checked. Transports somebody breathing or unresponsive — carried to the back of the rig and put in, the crew in through the doors, and the ambulance leaves with them aboard (NPC EMS has this long to load the patient, 40 seconds, is the cap). Pronounces somebody not breathing and calls the medical examiner. A conscious patient who is drunk or lightly hurt sometimes refuses and signs against medical advice, treated and staying (Chance a conscious, lightly hurt patient refuses the ambulance, 0.25). Defaults to when nobody is available. |
| Coroner | The medical examiner, for a body. |
| Tow | A flatbed for the car. One car per truck; a second truck can be asked for while a car remains. With Sal’s Kewl Roadside Assist taking dispatch tows, Roadside’s request is on the call’s record here: on the panel as “Roadside Assist has it” with its ETA, answerable as “ETA on the tow?”, and a second “start me a tow” is told one is coming. If Roadside’s request is canceled, fails, or goes quiet past its ETA, our own truck is sent and you are told, on the panel and on the air (Send our tow if the Roadside Assist tow falls through, on; Config.Auxiliary.OutsideTow.StaleAfter, 240 seconds). Nothing is needed from dispatch for this: it reads Roadside Assist’s own progress event. |
| Prisoner transport | The van, for when somebody is in custody and the arresting officer would rather keep working than drive to jail. Shown and spoken as whatever you call it under Police work → What the NPC prisoner van is called (Driving them to jail). |
| Taxi | A cab for the people who are not under arrest — the sober passenger, the motorist whose car just got towed, the witness who gave a statement. They have to get home, and leaving them standing in the road is how a scene fails to end. It only takes people somebody has talked to, so it never drives off with a witness mid-interview. |
A finished unit stays on the record. An NPC unit that has done its work leaves a mark the call can read, so an officer who called the ambulance and waited for it is scored for it. Asking for the same service again is refused as “has already been here”; a unit canceled before it did anything is simply gone and can be asked for again. The per-scene cap counts only units still working, and the ambulance that pronounces somebody can always call the medical examiner, even at the cap.
A crew visibly works at the curb before its work lands — about half a
minute for a medic packaging a patient — and then drives off and is
removed out of sight (NPC units leave this long after finishing, 20
seconds). The per-service work times are Config.Auxiliary.WorkSeconds,
set in config.local.lua. Two services requested together no
longer arrive inside each other.
Every crew leaves through the doors and drives off; nothing warps into a seat. Animal control and the road crew are named but ship off: a callout may ask for one, and the request is refused at runtime rather than failing.
Through a way in
New in 0.0.35-beta. At a building nobody can walk into, an MLO that is only an inside or an interior away from the street, the ambulance, prisoner van, coroner, cab and reserve police unit use the way in you marked, the same as your players:
- The ambulance parks at the curb. The medics walk to the door and go through. The officer inside sees them come in, kneel at the patient and carry them out, and the carry to the rig continues from the street door.
- The prisoner van, the coroner and the cab bring their prisoner, body or fare out the same way. Nobody vanishes where they stand.
- The reserve police unit follows the officer who asked for it through a way in, and walks back out before it leaves.
- If nobody is inside to watch, or the crew does not reach the door within about half a minute, they are simply moved through, so the call still finishes.
It only happens at a building with a way in; everywhere else the crews
work as before. /pssadmin → NPC services → NPC
units go in through ways in (Config.Auxiliary.ThroughWaysIn,
on) turns it off, and the crews then stop at the street.
Where they park
Since 0.0.37-beta a unit looks for its curb from the person it came for — the patient for the ambulance and the coroner, the prisoner for the van, the fare for the cab, the officer who asked for a reserve unit — rather than from the call’s point on the map, when that person is more than a few steps from it. The first unit takes the nearest point on the road itself, not the nearest road node, which outside town can be a long way apart. A unit that hesitates on the way in gets one more run at its curb before it settles for anywhere farther than 25 m out.
The reserve unit as a partner (new in 0.0.37-beta, in testing)
Ships off. Turn it on with /pssadmin →
NPC services → Give the reserve unit things to do
(Config.Auxiliary.Partner.Enabled). With it on, the reserve
police officer walks over to the officer who asked for them when they
arrive and asks what you need, and can be told:
| Stay with me | A step and a half behind you, wherever you go. What they do until told otherwise. |
|---|---|
| Hold right here | They stand where you were standing when you said it. |
| Wait at your car | Back to their own unit. |
| Talk to (somebody) | They walk over, take that person’s statement and come back to say what they got: exactly what your own Take a written statement would have written down, from the same person. Somebody who would hold something back from you holds it back from them, and they tell you so. Once per person. |
| Stand by with (somebody) | They stay at that person’s shoulder, and follow them if they are walked to a car. A detained person with the reserve officer beside them has not been left alone, so they do not make a run for it while you are busy elsewhere. |
| Cover (somebody) | Gun on them from a few steps off. Counts as an armed unit on that person. |
| Take (somebody) in | Somebody in cuffs is walked to the reserve unit’s own car and driven off: that is the transport, as the prisoner van would have done it. The reserve unit leaves with them. Off with Partner.TakePrisoners = false. |
| Search the area | The walk of the scene: they find evidence nobody has examined. |
| You can clear | Released, the same as the panel’s button. |
The orders are on the wheel’s Reserve unit ring (an order about somebody opens a ring of the people it could be), on the person menu of whoever it is about, on the tablet, and on the reserve officer’s own menu: walk up to them and use the person key. With push-to-talk unlocked they can be said out loud to the officer’s face (“go talk to the witness”, “stay with him”, “you can clear”); two people who fit gets “Which one?” rather than a guess. Their answers show on screen with the rest of the conversation; they are not voiced.
| Give the reserve unit things to do | Off. (Config.Auxiliary.Partner.Enabled) |
|---|---|
| The reserve unit walks over and asks what you need | On. Off, they stand by with you as before. (Partner.Greet) |
| How long the reserve unit takes to talk to somebody | 35 seconds, the walk included. (Partner.TalkSeconds) |
| The reserve unit will take a prisoner in for you | On. (Partner.TakePrisoners) |
For a dispatch resource. An order the unit gives
dispatch instead (“have my reserve unit stand by with the
accused”) can be handed over with
exports.sals_kewlpublicsafetysimulator:ReserveOrderForUnit(src,
heard), which returns ok and the reserve
officer’s answer for the dispatcher to relay.
The reserve units card
While reserve units are responding to your
call, a card on screen shows them coming, for everybody on the call, with the
tablet open or shut. One unit gets a Paged → En Route → On Scene
→ Standing By → Cleared rail, like the Roadside Assist tow card;
several get a row each, nearest first, with an ETA and a bar that fills as they
close in, and “+2 more” past three rather than a bigger card. It
shows the reserve police car (backup and traffic), the reserve engine, the
reserve ambulance and animal control; the tow is left to Roadside
Assist’s own card. On by default: /pssadmin → NPC
services turns it off and sets its size and place
(Config.Auxiliary.Card).
Police dogs and other working animals are protected by model name and by state key: the resource refuses to treat one as a scene person, and says so loudly rather than quietly doing something strange to your K9.
Patients, and the clock on them
Every person on a call who is hurt has a clock. A patient or a victim nobody has reached gets worse, and when a responder does reach them they are found in one of three conditions: breathing, unresponsive or not breathing. NPC EMS transports the first two and pronounces the third.
The clock stops the moment a responder finds, checks or treats them. Each call sets its own pace: cardiac arrest six minutes, an overdose ten, the critical pedestrian twelve, the driver pinned in a wreck fifteen. The assault victim and the man asleep in the carbon monoxide house are on no clock at all, because they are not dying.
An overdose can now be lost. If nobody goes to him, the patient gets worse and is pronounced. That is intended: it is what makes getting there matter.
What any responder can do
These are what the first person at somebody’s side does, whoever they work for. On most cardiac arrests the officer is two minutes closer than the ambulance.
| Check them — breathing? | Reads their condition and writes it in the notebook. Repeatable, because the condition changes. |
|---|---|
| Start compressions | Thirty seconds on the chest, and the clock is held while you work. Offered once somebody on the call has checked them (Check them, or a pulse check in Sal’s Kewl EMS). Refused on somebody who is breathing. One person on the chest at a time. |
| With Sal’s Kewl EMS | The person menu offers Examine instead of the verbs above, and the work is done on the EMS chart. A pulse check there is Check them here, and CPR there is compressions here: the clock is held, the objective is done, the call’s outcome knows somebody was on the chest, and the notebook says so. Coming off the chest there stops it here. |
| Put the AED on them | Needs compressions started first. EMS and fire carry one; anybody else needs one fetched — on the cardiac arrest, the bystander you send for the one on the wall. A shockable rhythm brings a pulse back. |
| Check the area | On a call with no fire, finds a hidden person within a few meters of you. Somebody hurt gets EMS paged, once. |
Turning it off
Fire → Minutes an unreached victim lasts in
/pssadmin (Config.Fire.VictimMinutes, 8 as shipped)
is the clock for any call that does not set its own. It lives on the Fire
page, but it covers every patient on every call. Set it to 0 and the
whole model is off, the calls’ own clocks included: no clock,
no condition, and nobody dies waiting.
Player medical state is still not ours. All of this is NPC patients only; a downed player stays entirely with your medical resource.
The chest-pain call, and Sal’s Kewl EMS
Chest pain is a new EMS call: a man in his sixties sitting on the curb outside a store, a hand on his chest, telling you it is indigestion — and the wife who called it in, who knows his history better than he admits it. It comes in four versions: an anterior heart attack, an inferior one, a heart attack without ST elevation, and a panic attack. Fifteen calls now page EMS.
New in 0.0.30-beta. The patient answers a medic’s interview. Ask when it started and what he was doing, what makes it better or worse, where the pain goes, how bad it is on a scale of one to ten, whether he has had it before, his breathing, nausea, his medical history, his medications, allergies and when he last ate. The answers change with the version of the call. With voice AI on, a question that is not on the list is answered from the patient’s own story and what he has already said.
Somebody sitting on the curb or collapsed now stays down: a medic kneeling in can no longer knock them into a heap that stands back up, and loading them no longer stands them up first.
Sal’s Kewl EMS (coming soon) is our full EMS system, a resource of its own. With it on the server, every patient on a call is a full patient there — the body exam, a working cardiac monitor, treatments by certification level and medical command — and the patient’s E menu offers Examine first. What the medics do comes back here, so the condition, the clock and the call’s outcome agree with the exam. Without it, nothing on this page changes.
Twenty-one more EMS calls (new in 0.0.31-beta, in testing)
These ship off. Turn on Jobs and duty → Run the
21 new medical calls for medics in /pssadmin
(Config.Catalog.EmsCalls). Off, medics get only the medical
calls they already had. All of them carry the tag
ems_calls.
| Medical | Stroke, seizure, diabetic emergency, difficulty breathing, an allergic reaction, abdominal pain, fainting, a sick person, childbirth, and a transfer between hospitals. |
|---|---|
| Injury | A stabbing, a shooting, an assault with a head injury, a fall from height, an industrial accident, a burn, a drowning, heat or cold exposure, choking, and a mass casualty. |
| Crisis | A behavioral emergency. |
There are 81 versions between them. When no medic is on, police take the stabbing, shooting, assault and behavioral emergency, and fire takes choking, heat and cold exposure, the falls, industrial accidents, burns, drownings and the mass casualty; both get the NPC ambulance. The purely medical calls wait for a medic.
A shift with only medics on gets 25 calls with these on (4 with them off): cardiac arrest, the overdose and the lift assist now open as EMS calls when nobody from police or fire is on. On the lift assist with nobody to force the door, her son arrives with a key.
Medical calls no longer hold each other back: they used to share one
twenty-minute cooldown, and now cool down in groups by kind (cardiac,
breathing, neuro, general, trauma, violent trauma). The transfer uses a new
location set, clinic: Sandy Shores Medical Center and Paleto
Bay Care Center. Those two spots have not been checked in
game; if one is off, fix it where you stand with
/pssscout.
With Sal’s Kewl EMS on the server, the medic’s monitor shows the rhythm the call rolled (a shockable arrest is shockable on both sides), and patients tell the call’s own story to the exam: what happened, when, their history, medications, allergies and last meal. That part needs the next update of Sal’s Kewl EMS.
Dispatch, on the air
Everything on this page works with no radio at all: the page arrives as a card on screen, the panel is the menu, and nothing is lost. This section is about what happens as well when you run Sal’s Kewl Dispatch — which is a one-time purchase with no subscription and no AI in it.
The first page
The call goes out as a talkgroup page, and for fire and EMS as a real
two-tone pager tone-out: the tones, then the announcement.
Which talkgroup and which tone set per service are the two settings on the
Dispatch page of /pssadmin, and they ship matching the
radio’s own shipped codeplug, so a server that has renamed nothing
needs to set nothing.
You pick both from a list rather than typing them. The panel reads your real talkgroups and tone sets out of the dispatch resource itself, so the fire lane offers your fire talkgroups first and the tone sets are boxes to tick. An id that resource does not carry is kept and shown in red rather than dropped — that is a page going nowhere, and it should look wrong — and Type an id… is the last entry in every dropdown for a talkgroup a CAD creates at runtime. A dispatch build too old to publish its lists, or no dispatch at all, keeps the plain text box.
And then dispatch keeps talking
A dispatcher who paged a job and never mentioned it again is not how any of this works. So after the page, dispatch puts the call’s own progress on the air:
| When | What goes out | Ships |
|---|---|---|
| A unit goes en route | “Charlie 101 responding to a burglary in progress on Sandy Shores Avenue.” | on |
| A unit arrives | “Charlie 101 on scene at a burglary in progress on Sandy Shores Avenue, has command.” Arrival and command in one transmission, because they are one event. | on |
| A unit asks dispatch to pass something on | “Charlie 101 advises: one in custody.” Carried on the “responding” line for the next unit driving in. | on |
| The call closes | “The structure fire on Paleto Boulevard is clear.” Said once, however many units were on it. | on |
| A unit clears | “Charlie 101 clear of the structure fire on Paleto Boulevard.” | off |
Each line is its own switch on the Dispatch page, and the one that ships off ships off for a reason: on a four-unit call it is four transmissions at the end, after the part anybody cared about. The call closing is announced once regardless.
“Responding” goes out on every attach — pressing Respond, saying it on the radio, or being put on the call by driving up to it — and the CAD receives En Route with it. A call taken on the radio is still one line, not two.
Dispatch does not read out what units find. Telling the call is the officer on scene’s job, and the panel already shows every unit everything that was found. Dispatch relays only what a unit asks it to pass on: what the units on scene advised rides along with the “responding” line for anybody driving in, and with Sal’s Kewl Dispatch 3.10 the AI dispatcher records what a unit asks to have broadcast — “advise responding units…”, a BOLO — and says it to the other units. Pass on what a unit asks dispatch to relay is the switch, and Only the details that change what a unit does narrows it to somebody armed or a warrant.
A radio that narrates everything is a radio people turn off. There is a floor between two transmissions about the same call — six seconds as shipped — so four units marking responding in the same breath is one page rather than four. The extras are dropped rather than queued, because radio traffic arriving after the moment it describes is worse than none. Two things ignore the floor and always get through: an urgent detail, and the call closing. The floor is per call, so two separate incidents never silence each other.
“Central, what do you have on that call?”
The question a unit asks most. Dispatch answers it off the live scene — what it is, where, who is on it, what has been established and what is still outstanding — so a unit asking twenty minutes in hears what is true now, not a replay of the page.
Three ways to ask, and you do not need all three:
- On the radio, to an AI dispatcher or a human on a console. The phrases are yours to edit, under details in the phrase table — “what do you have”, “say again”, “repeat the call”, “10-9” and the rest.
/pssrepeat, typed. The same answer, for a server with nobody to say it to — which is most servers. With the radio running the re-read goes out on the talkgroup; without it the same sentence lands on screen.- The panel. It has always shown the fact board; this is the same information as one spoken sentence.
The re-read also says what the call wants against what it has — “the call wants 3 units, you are the only one” — and is read in full, split at sentences rather than cut off mid-word.
By default the answer is a talkgroup page, because a dispatcher repeating a call on the air is what actually happens. On a busy channel you can send it to the asking unit’s pager instead.
It never tells a unit something nobody has found. The re-read carries only facts the crew has actually established. The hidden ones are the gameplay, and they do not leak through the radio.
Saying it the other way
The radio works in both directions. “Show me on scene” said on the air arrives the unit in the scene; “show me en route” with a call holding takes it; “show me with 1-Adam-12” backs whoever is already on one. Every one of those phrases is a list you can edit, because every department says this differently. Put the longer phrase first — the first match wins, and “clear” would otherwise swallow “clear for calls”.
Dispatch’s reading of a status decides. When the AI
dispatcher (or a human one) files you en route or on scene, that is the
status; your own words only name the call or sharpen it (“en route,
backing Charlie 102”). A clear with a disposition — “unable
to locate”, “gone on arrival”, “report taken”
— closes the call when you were the last unit on it. And two things only
the officer can say: a traffic stop reaches dispatch when you
call it in, and a pursuit is paged when you say “in
pursuit” (Config.Dispatch.Phrases.pursuit). See
Traffic stops, and the cars that run.
Run any plate, “give me a call”, and help that comes to you
Run any plate. Behind a car in
traffic, “Central, run 42 Adam Boy Charlie 123” comes back with a
registered owner, whether it is stolen, and any warrant, even with no CAD. The
car keeps driving; pull it over and the stop matches what dispatch told you,
because the return is kept for the shift. Running the owner’s name works
too. Answer plate checks on cars no call owns on The street page
(Config.Street.Vehicles.PlateCheck) turns it off, and those checks
go to your CAD.
“Central, give me a call.” Ask the AI dispatcher for work and you get a call: one of yours already holding, or a new one picked for you, close enough to take. “Give me a traffic stop” gets you one when there is one. You are put on it and dispatch reads it out; with nothing for you, it says so. Needs Sal’s Kewl Dispatch 3.14.2.
Help goes to the officer. Ask dispatch for backup or EMS when you are not at a call and the call opens where you are standing: Officer needs assistance when you say you are in trouble (“officer down”, “shots fired”, “10-99”), otherwise “Adam 200 requesting EMS”. You are on it, it is paged like any call, and the reserve unit comes to you when nobody answers. Say you are in trouble on the way to a call and the help comes to you, not to the call’s address.
If you subscribe
The AI package changes one thing about this section: the lines above are spoken on the air instead of printed. Nothing here needs it.
Open calls as a real 911 call ships as never.
(Config.Dispatch.Use911.) The caller on that 911 line has no voice yet, so the AI
call-taker answered a silent line, nudged it, billed realtime audio for the
whole exchange and held the desk while a real caller waited behind it; a
human call-taker saw a ringing line with nobody on it. With it off, the page
is the whole call and nothing else about dispatch changes. Set it back to
auto when the voiced NPC caller ships. An install that
saved a value keeps it — if you run the AI package, check it
on the Dispatch page.
Letting the AI dispatcher do the paging
Everything above decides the page here: which talkgroup, which tone sets, what the announcement says. That is the right default — it works with nothing but the radio and needs no subscription.
It is also the wrong place for the decision once you have an AI dispatcher. A dispatcher decides whether a call is toned out at all, which stations it goes to, which tone sets, how it is worded and whether it gets a second alarm. Those are judgments about your agency, and they belong in your dispatch portal beside everything else about how that position behaves — not in a two-line codeplug here.
So with Let the AI dispatcher do the paging on — and Sal’s Kewl Dispatch 3.10, which is the version that accepts it — a new call is handed over as a request rather than sent as a page whenever an AI position is on duty and reads every talkgroup the call needs: the nature, the location and cross street, the priority, which services should go, and what the caller actually said — so the AI can say “caller reports occupants still inside” instead of reading our own title back at you. The portal decides the rest.
It never sends both. A page the AI took is a page this
resource does not send — our tone-out landing on top of its voice is
the one outcome nobody wants. And the fallback is total: no AI position
signed on, an older dispatch with no such export, or any answer short of an
explicit acceptance, and this resource pages the call itself exactly as it
always has. /pssdiag counts which path each page took, because
“the AI is paging our calls” and “we are paging them
because the AI never answered” look identical in game and have
opposite fixes.
One call, one voice: Sal’s Kewl Dispatch 3.10 and later
Most of this version works with any dispatch build. These need 3.10 or later on the other side (3.11.1 is current):
- Statuses reach the CAD once. Every status used to be
filed twice, once from each side.
/pssdiagsays which path is in use. - The 911 record names the call. Its nature, priority and location now land where the console reads them, so the queue and the CAD no longer open a call about nothing.
- Pagers beep for the page, not every update. Statuses, relayed details and the closing line go out as updates, a re-read as a readback; only the page itself is a call. Every line ends at a sentence.
- An escalation says “second alarm”. It used to re-page with the first page’s words, and the AI stood it down as a repeat.
- “Start me a second engine” pages players. The AI dispatcher hands the unit’s words to this resource, which pages that service onto the unit’s call — cards, tone-out and page. A page that finds nobody gets a reserve unit instead, and the air is told. A tow, the coroner and a taxi still go to the NPC services.
- A shared call stays open. On a call with several units, the first to clear no longer closes the 911 call for the others.
And these need Sal’s Kewl Dispatch 3.12.0 or later:
- The AI reads the vehicle and plate with the page on a vehicle call: “stolen vehicle alert, black sports sedan, plate 87ASC165, last seen Alta and Sinner”.
- Plate lookups on a stop you called in answer from the stop’s own record the moment it opens.
- A dispatcher can take the simulator’s calls. A
dispatcher who presses Taking sim calls on the console gets this
resource’s calls on their 911 line instead of the server being paged,
enters the call, and the units they assign in Sal’s Kewl CAD are put
on the call here. With nobody opted in, nothing changes
(
Config.HumanDispatch). - Tows from Sal’s Kewl Roadside Assist 2.0.0 — a mechanic player first, then its own truck — when both are running.
And these need Sal’s Kewl Dispatch 3.13.0 or later:
- “Anything pending?” A unit can ask the AI dispatcher what’s waiting and hear this resource’s open calls read back, worst first. A firefighter hears fire and EMS calls, a medic hears EMS, police hear police.
- Taking a waiting call on the air. “Show me responding to the structure fire” or “I’ll take the first one” puts the unit on that call, the same as pressing Respond. A call a dispatcher is holding, or “on scene” said from across town, is refused.
- “Reserve unit responding” in the dispatcher’s own voice, in the same breath as the acknowledgment, instead of a separate line a moment later.
Two smaller fixes work with any build: the radio’s echo guard is per status, so a tablet press seconds after an unrelated radio line is still filed and announced; and restarting the dispatch resource is a fresh look, so an export it was missing before is found again without restarting this one.
For anybody integrating their own dispatch: the two new exports the
dispatch side calls are SaidForUnit(src, said), which acts on a
unit’s words with this resource’s own phrase table and answers
whether they meant anything, and PageServiceForUnit(src, service,
why), which pages players of a service onto the call that unit is on.
The second answers not_supported for a word that names an NPC
service (a tow, the coroner, a taxi), which is the cue to request that
instead.
Reading the dispatch lines in /pssdiag
With Sal’s Kewl Dispatch running, /pssdiag says what an
owner actually needs to know, line by line:
dispatch: running (sals_kewldispatch). tone-out seen: true | page seen: true | status out: true | status in: 6 | 911: never
call taking: nobody signed on
AI dispatcher: on duty, live | watching LSPD1 FIRE1 | reads pages: yes | reads police: yes | CAD: yes
! the AI does not read EMS1 (Config.Dispatch.Talkgroups.ems) -- it will not page or announce ems calls. Add it to the AI's talkgroups in the dispatch panel.
CAD statuses: through the dispatch side's callout adapter (direct filing off)
missing exports: none found so far
AI paging: 3 taken by the AI dispatcher, 4 paged by us
fire: 0 taken, 4 declined -- last reason: the AI does not read talkgroup FIRE1 -- tick it under "Fire tone-out" (or "Talkgroups it watches") in the AI dispatcher settings
police: 3 taken, none declined
| call taking | Whether anybody — the AI or a human on a console — is signed on to answer a 911 call right now. “Older dispatch, cannot tell” is a different answer from “nobody”. |
|---|---|
| AI dispatcher | Its posture in plain words: off, in shadow (decides everything, transmits nothing), off duty, on duty with no position signed on, or live — and which talkgroups it watches. Each one is a different setting to change. |
| ! the AI does not read… | One of your talkgroups is not one the AI listens to, so it will not page or announce that service’s calls. Add it to the AI’s talkgroups in the dispatch panel. |
| CAD statuses | Which single path statuses take to the CAD. |
| missing exports | Anything your dispatch build does not have. Every name here is a feature that is quietly off; everything else is unaffected. |
| AI paging | How many pages the AI took and how many this resource sent itself because nobody took them — then the same per service, with the last reason the dispatch side gave as the setting that fixes it. Police voiced and fire not is almost always the line above: the AI was never told to read the fire channel. |
The old “tier 1” line is gone: it said the same thing on every server and answered nothing.
Jurisdictions: who gets which calls
Out of the box every available unit of the right service is paged for
every call. Jurisdictions narrow that to the units whose area the call is
in. Everything is set on the Jurisdictions page of
/pssadmin. It ships off.
| Setup | What you do | What happens |
|---|---|---|
| Off | Nothing | Every unit gets every call |
| City and county | Pick your city jobs and your county jobs | Los Santos calls go to the city jobs, everything else to the county jobs |
| City, county and state | Also pick your state jobs | The same, and calls on a highway go to the state jobs wherever they are |
| My own areas | Name jurisdictions, pick their jobs, click areas on the map | Any split you want |
Setting it up
/pssadmin→ Jurisdictions, and pick a setup.- The first time, the panel reads the map: your game reads the game’s own named areas (Downtown, Sandy Shores, Paleto Bay and so on). It takes a few seconds and is needed once. Until the map is read, every unit gets every call.
- Click the jobs for each jurisdiction. They are the jobs on your server; type one in if your framework did not report it.
- For My own areas: Add a jurisdiction, name it, pick its jobs, then click areas on the map to add them or take them out. Start from city and county gives you the built-in split to change. Tick Also gets calls on a highway for a state or highway patrol.
The rules
- It decides who is paged, never who may respond. Any unit can still take any call it hears about or is sent to.
- A job in no jurisdiction gets calls everywhere. Split only your police and fire and EMS carry on as before.
- An area can be in more than one jurisdiction, so fire districts can be cut differently from police ones. An area nobody of that service covers goes to every unit of that service.
- Nobody home goes wider. A call nobody from its own area has taken goes to everyone after the wait (60 seconds unless you change it). You can also send it at once when no unit from the area is on, or hold it for the area’s own units.
- A crew asking for more units gets the area’s units; when there are none, everyone.
- Calls are made where somebody covers. With only deputies on, the Director makes county calls.
- A highway call is one at a place marked Highway or freeway when it was scouted.
- On the radio, a page read on the air is heard by everyone on that channel. Jurisdictions decide whose tablet gets the card.
The built-in city is the built-up part of Los Santos, from the airport and the port up to the Vinewood Hills. To move the line, use My own areas and Start from city and county.
Your CAD (BackdraftCAD)
If your community runs BackdraftCAD, this resource can file its calls there and take your dispatcher’s decisions back. Nothing here needs a subscription of ours; it runs entirely between your server and your CAD.
Not affiliated with, endorsed by or sponsored by Backdraft Studios. BackdraftCAD is their trademark, used here to identify their product. You need your own BackdraftCAD community on a plan that includes integrations; this was written from their published API, not from their code.
Setting it up
- In BackdraftCAD, Administration → Configuration → API & Integrations, generate an integration key. It is shown once.
- In
server.cfg, not in any file of this resource:set backdraft_api_key <your integration key> set backdraft_api_url https://backdraftcad.com/api/v1 /pssadmin→ CAD → Which CAD your community runs:backdraftcad(orConfig.CAD.Provider = 'backdraftcad'inconfig.local.lua)./pssdiag. The CAD line says whether the key was accepted and for which community, how many call types the catalog has, and the last error if there was one.
Players are matched to CAD units by their Discord id, the
same way BackdraftCAD’s own resource matches them: a unit has to be a
member of your community with Discord linked, and linked on your server.
/pssdiag counts the ones who are not.
What goes to the CAD
| Here | There |
|---|---|
| A call is paged | An incident, under the call type whose code or name matches ours (a miss is filed as free text), with the location, coordinates and postal, the priority, the service, who called it in and what they said. |
| A unit takes the call | Signed on in the CAD if they are not yet (members only), then en route, assigned to the incident. |
| On scene / clear | on_scene; a unit leaving a call that stays open is unassigned. |
| Something is found on scene | A note: the records return, the plate, a warrant or a stolen flag. |
| “One in custody”, on the radio | A note, by the unit. |
| The last unit clears | The incident is closed with the disposition they picked and what the call actually was. |
| Nobody ever took it | Closed, saying so. |
What comes back
| There | Here |
|---|---|
| A dispatcher assigns a unit | The unit is put on the call as if they had pressed Respond: card, blip, route, staging, and station tones for fire and EMS. |
| A unit presses On Scene on the CAD tablet | They are on scene here. |
| A dispatcher removes a unit | They are detached here. |
| A dispatcher closes the incident | The call closes here (worked: with its report; never worked: it expires). |
The feed is read every three seconds while a call of ours is open there, so a dispatcher’s assignment feels immediate, and the whole thing stays well under BackdraftCAD’s rate limit.
Who pages
/pssadmin → CAD → Who pages.
- mirror (the default). Calls page exactly as they always have, and the CAD gets a copy of everything. A dispatcher may still assign and close from the CAD, and it takes effect here.
- cad. The CAD dispatches. A new call is filed as a
held incident and not paged; your dispatcher sends units and
they are attached here. Nobody assigned within ninety seconds
(
Config.CAD.HoldSeconds), the CAD unreachable, the create refused — the call is paged the ordinary way. Your units always get the run.
With Sal’s Kewl Dispatch on the same CAD
The two share the work and nothing lands twice: this resource opens the incident, reads the dispatcher back and closes it; the dispatch resource files unit statuses and the radio’s remarks on the same incident. Nothing to set. It needs Sal’s Kewl Dispatch 3.14.3 or later; with an older build both sides file statuses, which is untidy and harmless.
Another CAD
Config.CAD.Provider = 'event' sends nothing anywhere and fires
every kind as a server event for a resource of your own:
sals_kewlpublicsafetysimulator:cad:create, :note,
:close, :unit_status, :unassign and
:signon. The CAD is never a step in a call: down, slow or wrong, the
page still goes out.
Sal’s Kewl CAD
If you run Sal’s Kewl CAD, there is no key or address to enter
here: the sals_kewlcadbridge resource already holds the link to
your CAD.
- Run sals_kewlcadbridge 2.5.0 or later. On an older bridge the setting saves, but no call reaches the CAD and the console prints one warning per call.
- Link each job to an agency in the CAD (the CAD’s owner panel, player accounts and job map). A player whose job is not linked is a civilian in the CAD, which will not put a civilian on duty: the call opens with nobody on it and is not on their MDT.
/pssadmin→ CAD: set Which CAD your community runs tokewlcadand When a call goes into the CAD toaccept.
What you get:
- A call goes in at its own location with the unit that took it on it, and is on that unit’s MDT. A unit not on duty in the CAD is put on duty there.
- En Route and On Scene move the unit in the CAD; units clearing are taken off; the last one closes the call with the outcome.
- Back the other way: a dispatcher assigning a unit attaches them here, On Scene pressed on the MDT arrives them, and the CAD closing the call closes it here.
- When a call goes into the CAD (CreateOn):
pagefiles it the moment it pages;acceptfiles it only when a unit takes it, so a call nobody takes leaves no record.acceptis the one to use with Sal’s Kewl CAD. - The size-up action goes on the call as a note: “Engine 1 size-up: 2 of 5 burning; attached structure; exposure at risk; victim trapped”.
- Tows and DOT (new in 0.0.33-beta; needs sals_kewlcadbridge 2.9.0 or later): a tow asked for on a call goes on the CAD as a job for your tow agency, and the county wrecker waits the usual grace time. An operator accepting the job stands the wrecker down. No tow agency, a canceled job, or nobody taking it sends the wrecker. An operator who gives the job back puts it on the board again, with the wrecker waiting once more. DOT paged to a call is filed as a CAD call for your DOT agency. CAD units of the tow and DOT departments count as Towing and DOT here. On an older bridge none of this happens and the wrecker goes as before. Not yet run against a live CAD.
With Sal’s Kewl Dispatch on the same CAD, set its
CAD to kewlcad as well and the two share the work, as described
above: this resource opens and closes the call, and Dispatch (3.15.1 or
later) files what is said on the radio, a spoken size-up included.
A server with no job system
Everything on this page asks your framework what job somebody has. On qb‑core, qbx and ESX that is the right question and there is nothing for you to do here.
A standalone server has no job table to ask. This resource falls back to a state bag another script can set — which is correct, and was also only reachable from Lua. So a standalone server used to be “supported” in the sense that nothing errored and nobody could ever get a call: calls opened, no player was eligible for any of them, and the whole resource stayed quiet.
/pssduty is the missing half.
/pssduty police | On duty as a police unit. Also fire, ems, and whatever else you have added to your service list. |
|---|---|
/pssduty | Says what you are, and what you could be. |
/pssduty off | Off duty — and clear of any call you were on. A unit who signs off while still attached leaves a call open with nobody working it. |
It is off by default on qb, qbx and ESX, and that is deliberate. Your job system already decides who is police, and a command that overrode it would hand a badge to anybody who typed it. The Let players go on duty with a command setting ships on auto: on where there is no framework to disagree with, off where there is one. If your jobs have no duty concept of their own you can turn it on — and there is an ace setting beside it for exactly that case.
Turned on, it wins over the framework’s job.
Everybody on duty as one service. /pssadmin
→ Jobs and duty → Put everybody on duty as
(Config.Duty.Force): a service name, such as police,
puts every player on duty as that service whatever their job says — for a
test night or an all-police server. Empty leaves it to the jobs and the duty
command.
Working a call without the panel
The panel is still the interface and still does everything. These are the text route in, and the only route on a server that has turned NUI or key mapping off:
/pssrespond | Take the call that is holding for you, or report en route to the one you are on. |
|---|---|
/pssarrive | Mark on scene. First in gets command. |
/pssclear | Clear from the call. |
/pssrepeat | What have you got on that call — see Dispatch, on the air. |
/pssradio <words> | Anything a unit would say. /pssradio I’ll back him, /pssradio available for calls, /pssradio 10-23. |
None of these have their own vocabulary. Every one of
them resolves through the same code a radio transmission does, so the
phrases you edited on the Dispatch page are the phrases these speak —
/pssrespond types whichever en‑route phrase you
put first. One set of rules rather than two to keep in step.
It also means you can exercise the whole radio vocabulary with no radio installed, which is the quickest way to check your phrase list does what you meant.
Commands
| Command | Who | What |
|---|---|---|
Caps Lock (/psswheel) | everybody | The wheel: everything you can do right now, as slices. Hold and let go on a slice, or tap and pick; 1–8 pick directly, the scroll wheel walks them, Backspace goes back a ring, Esc closes. Start here — every other row below is still there for the player who types. |
/pss or F6 | everybody | The panel: calls holding, your scene, the fact board, your actions. |
/pssguide | everybody | The in-game guide for a first shift, on the panel’s Guide tab, with the player’s own keys and your live settings in it. |
| F7 | everybody | Pins the pocket notebook open, or puts it away. It shows itself for a few seconds on every new line regardless. |
E (/pssperson) | everybody | The person menu for whoever is in front of you, or the vehicle menu at a car. |
K (/psstranscript) | everybody | Shows what was said in the last two minutes, and hides it again. Never takes the mouse. Config.Conversation.ReviewKey is only the default; players rebind it. |
J (/pssdropline) | firefighters | Shuts down and drops the hose line where you stand. A real key binding (“Drop the hose line”), so players can move it; Config.Fire.Hose.DropKey in config.local.lua is only the default. |
X (/pssstandup) | firefighters | Stands you up from a primary search. A real key binding (“Stand up from a primary search”); Config.Keys.StandUp is only the default. Crouch works too. |
/psstand | everybody | Stuck on the floor? Ends the primary search and stands you up, whatever state the crawl is in. Renamed with Config.Commands.Stand. |
/pssoff | everybody | Silence pages for yourself. Allowed by default, because the alternative is somebody logging off instead. |
/pssme | everybody | Why am I not getting calls? Prints what this resource thinks you are — the framework it found, your job and grade, the raw duty field straight off the framework beside our reading of it, which service that maps to, your callsign, and whether you are eligible with the reason if you are not. Also whether you are an admin here and why not — the ace looked for, whether it matched, and every identifier the server holds for your session. Deliberately not admin-only: the person it is happening to should not have to find an admin. |
/pssduty [service|off] | everybody | For a server with no job system. Become a responder: /pssduty police, /pssduty fire, /pssduty off. Typed bare it says what you are and what you could be. On for standalone servers and off everywhere else — see A server with no job system. |
/pssradio <what you’d say> | everybody | Say anything a unit would say, and have it mean what it means on the radio: /pssradio show me en route, /pssradio what do you have. It runs the same resolver a real radio transmission does, so every phrase in your own phrase table works here — and works with no radio installed at all. |
/pssrespond /pssarrive /pssclear | everybody | The three a unit does constantly. Each types the first phrase you configured for that meaning, so rewriting the phrase lists rewrites these too. |
/pssrepeat | everybody | “Central, what do you have on that call?” Dispatch re-reads your call off the live scene — what it is, where, who is on it, what has been established and what is still outstanding. On the talkgroup if you run the radio, on screen if you do not. See Dispatch, on the air. |
/psshere | everybody | “Yes, I am still at the keyboard” — answers the away check. |
/psspoint [label] | everybody | Prints a pasteable location point where you stand. Not ace-gated — it reads your own position and changes nothing, so location work can be handed to a builder without handing over /pssadmin. See Checking and fixing locations. |
/psstrailer [limit] / /psstrailer pickup | police, DOT | A speed trailer, set down three meters in front of you reading the limit you give, and picked back up. One each. See Speed cameras. |
/psstraffic stop | slow <mph> | here | clear | on duty | Stop or slow traffic where you stand, the typed side of the wheel’s Traffic ring. See Slowing and stopping traffic. |
/psscam add <limit> [name] | admin | A fixed speed camera where you stand, facing the way you face. Also remove, limit <n>, list, and break [failed|vandalized|struck] / fix to try the DOT repair call. |
/pssbuildings | admin | Every building a call can go inside: scan the map, approve what each building is, see which are missing. Also on /pssadmin → Setup → Open Buildings. See Buildings. |
/pssscout | admin | Everything about locations, behind one command: it asks what you want to work on. See One command for location work. |
/pssscout, then U | admin | Mark buildings with a real inside, and where people can be in them. See Your places. |
/psslocationcheck [set|all] [seconds] | admin | What is actually at each location? Moves you through every location, or one set, and measures it: the nearest building and its height, the street and area the game reports, the road, the ground. Each gets ok, look or fix by what its set is for, printed on the server console and saved in data/location-survey.json, which updates never touch. Backspace stops it and puts you back where you started; so do /psslocationcheck stop and running it again. |
/pssfirecheck [set] | admin | Are the fire locations any good? Walks you through every location a fire call can open at and judges each one where it stands: a point in the air, inside an interior, with no walkable floor at it, over a ledge the fire would scatter across, or far from any road. Each verdict is said as it is found and the report is printed on the server console. Fix the flagged ones in /pssadmin → Check a scenario’s locations; the edits go in data/locations.json and survive updates. Backspace stops it and puts you back where you started; so do /pssfirecheck stop and running it again. See Checking and fixing locations. |
/pssadmin | admin | Setup: What’s new (read it after every update), presets, every setting with its own help, the catalog, and opening or closing a scene by hand. |
/pssdiag | admin | The diagnostic. Start here when something is wrong. With Sal’s Kewl Dispatch it also reads out who is taking calls, the AI dispatcher’s posture, any of your talkgroups it does not read, and missing exports — see Reading the dispatch lines. |
/pssdebug scenes | stage | aux | perf | verbs | integrations | admin | Live state, in the console. |
/psstrace on | only | off | admin | Which script is doing what, live. Prints every call to another resource and what it answered, every page and who carried it, every credit of water and whose hose it was — on the server console, and on every player’s F8 for the half that is decided there: which script drew the flames, which hose was read. only narrows debug to just that channel. It is the same switch as the Troubleshooting page of /pssadmin, so it survives a restart. |
Every command marked everybody autocompletes in chat, with a one-line description, under whatever name you gave it. Admin commands are left out of the suggestions on purpose.
The command names and the default keys are the one part of the configuration
that is not in the panel — a command has to be registered when the
resource starts, before any panel exists. They live in
config.local.lua; see Your settings, and
updates.
Configuration and presets
Everything is edited in /pssadmin, with plain-language help on
every field and validation as you type. There is no config file to edit. The
groups, and the settings worth knowing about:
The same settings on the web portal
With Sal’s Kewl Dispatch 3.14.4 or later on
the same server, linked to the portal, the dispatch portal has a
Simulator settings page with every row of the
/pssadmin Setup panel: the same help, your server’s own jobs
offered in the job lists, the talkgroup and tones for each service picked from
your codeplug, services of your own, and the pace presets. A change made there
is checked and saved by the same code as a panel save, and is live for every
player at once. Squawky, the portal’s help, answers questions about these
settings and can propose a change for you to apply.
Pace — the Director
| Favor calls nobody has had recently | On by default (Config.Director.Variety). On top of the cooldowns, a call that already ran in the last hour is a quarter as likely to come up again, and a ninth as likely after twice, so the shift sees the whole catalog instead of the same few calls. Nothing is ever ruled out; it changes which calls come up, never how many. How far back “recently” reaches (VarietyWindow, 3600 seconds) is the advanced setting beside it. |
|---|---|
| Interval | Seconds between candidate incidents, as a range. Default four to fifteen minutes. The Director waits a number in that range, then opens something if the ceilings allow. |
| Ceilings | At most six scenes active, three of them unanswered, and one scene per player at a time — fixed at one on the panel in this version, because a unit works one call at a time. The honest failure mode of an incident generator is too much of it. |
| Minimum units online | Counted per service. A fire callout is not worth opening with no firefighters on. |
| Cooldowns | Thirty minutes before the same callout runs again, twenty before another call in the same cooldown group (which is what stops three different violent calls landing back to back), and no new call within 100 m of an incident that is still open or ended in the last fifteen minutes — any incident, a street stop included. That last one is never less than five minutes. |
| Match the call to the shift | On by default. A callout's chance of being picked is scaled by how well the units it wants matches the units actually on duty, so a quiet night produces traffic stops and a full shift produces working fires. Nothing is ever excluded by it — a one-officer server can still roll a structure fire, it is simply less likely than the trash fire. Turn it off for a flat weighted pick. |
How far away calls are
The two distances the Director works with, on a page of their own.
| New calls are at least this far from the nearest on-duty unit | Config.Director.MinDistanceFromPlayers, 200 m, measured to the nearest on-duty unit of the service the call is for, so a call arrives as somewhere to drive to rather than appearing on top of somebody. The Training night preset drops it to 50. |
|---|---|
| And no farther than this | MaxDistanceFromPlayers, 2500 m. Lower it to keep calls near where units are working; raise it on a big map or with aircraft. A location set with every point outside the band is skipped, and the console says which distances it was checked against. |
The broadcast
| Re-page | Every two minutes for a call nobody has taken. Zero turns it off. |
|---|---|
| Expire | Fifteen minutes for a call nobody took, then it closes quietly. A call somebody worked is never expired. |
| Blip | Drawn for an unattached call, so somebody can go find it. |
| Close on last clear | On by default. Turn it off and a cleared call goes back in the queue for somebody else to look at. |
| Arriving puts you on a call | Config.Broadcast.AttachOnArrival, 50 m, and ArriveSeconds, 10. A paged unit who stays that close that long to a call nobody is working is put on it. A call somebody is already working is joined only by choice. 0 meters turns it off. |
There is no setting that turns the broadcast into “assign it to one player”. That is the rule the resource is built on.
The call card
The card a new call arrives on is the most important thing the resource tells anybody, so all of it is yours. Every setting here takes effect on the next call — there is nothing to reconnect for.
| Size | 1.0 is the designed size. The card is laid out against a single font size, so one number scales the text, the padding and the priority stripe together — it stays in proportion instead of becoming a big box with small writing in it. Try 1.5 on a large monitor across the room, or 2.0 for streaming, where your viewers are looking at a scaled-down capture. |
|---|---|
| Where on screen | Nine anchors: top, middle and bottom × left, center and right. Bottom anchors stack upward, so the newest card is always the one nearest the edge your eye is already on. center puts it over the middle of the screen, which is right for a training server and in the way anywhere else. Two nudge settings move it a few percent off whichever edges the anchor uses. |
| How long it stays | Twelve seconds by default, twenty for an emergency call. The old notification lasted five, which is not long enough to read an address and decide whether to take the call. Zero keeps the card up until somebody takes the call or it expires — good on a quiet server, and it will stack cards on a busy one. A thin bar along the bottom edge draws the time remaining, because somebody deciding whether to take a call should be able to see how long they have to decide. |
| Most at once | Three. The oldest comes down when a new one would be one too many, so a busy minute does not fill somebody's screen. |
| Distance | How far the call is, measured from where the player actually is when the page lands. |
Priority 1 calls get a red tag and a slowly pulsing stripe. Deliberately only the stripe: a card that flashes its whole body is a card people turn off.
There is no accept button on the card, on purpose. Taking a call is a decision made on the MDT's Calls tab, where the whole queue is in front of you — not a reflex click on whichever card happens to be on screen.
The alert sound
Until now a new call was a GTA menu blip. You have three options, in increasing order of how much it sounds like a real page:
- A built-in game sound. The default, and it needs nothing added to your server. A name and a sound set, with a sharper pair for emergency calls.
- Your own audio file — this is how you get a real
pager tone without the radio. Drop an
.ogg,.mp3or.wavinto this resource'shtml/sounds/folder and put it in Your own alert sound assounds/tone.ogg. No manifest edit: that folder is already served, and it ships in the download. There is a separate one for emergency calls, and a volume for both. - The radio. If you run Sal's Kewl Dispatch, fire and EMS calls already get real two-tone pager audio over the in-game radio — and dispatch keeps the air updated afterward. See Dispatch, on the air.
If the radio is toning the call out, the card stays silent. Two sounds for one call is worse than either on its own, so a server running the radio gets the real pager tones for fire and EMS and no alert on top of them. Everything else — police calls, and every call on a server without the radio — uses the sound above. There is an advanced setting to play both if you genuinely want that.
Limits
Ten people, four vehicles, twelve props and twenty-four fire seats per scene; two NPC units per scene and four server-wide; a staging radius of 250 m. These are the performance budget rather than suggestions — they are what keeps a busy evening cheap. Raise them knowing that.
| Most requests one player can send per second | Config.Limits.EventsPerSecond, 10. Verbs, questions and service requests past it are ignored silently. Nobody clicking honestly gets near it; a modified client spamming the server does. |
|---|---|
| Remind a unit who drove off without clearing | Config.Limits.ForgottenAfter, 300 seconds. A unit still on a call but more than twice the staging radius from it for this long is asked once: “Still on #12? Clear or respond.” 0 turns it off. |
| Take a built scene down when every responder is farther than | Config.Limits.StageOutRadius, 400 m, larger than the 250 m build distance on purpose, so a unit at the edge no longer makes the scene appear and disappear. A car that is still being driven is never taken down while anybody is on the call. |
Fire
Seconds of water to knock a seat down, the range and cone within which water counts, spread chance and radius, what venting multiplies spread by, and how long before flashover. Water-supply objectives are here too, and they ship off: a server with three firefighters and no hydrant script should not be fighting the resource.
| Highest the call can escalate from flashover | Config.Fire.FlashoverLevelCap, 5. Each room that flashes over raises the call once; this stops a big building from running the number into double digits. |
|---|---|
| A spot burns itself out after | Config.Fire.BurnOutSeconds, 0 — off: fires keep burning until water goes on them. Above 0, scaled by the spot’s size; burning out is not a knockdown. |
| Buildings burn this many times longer | Config.Fire.BurnOutStructureFactor, 4, so a house fire is still burning when the first engine arrives. |
| Minutes an unreached victim lasts | Config.Fire.VictimMinutes, 8. The default clock for every patient and victim on every call, not only fire victims. 0 turns the whole model off — see Patients, and the clock on them. |
Police
Which script does the cuffing (built-in, an export, or an event — it
ships built-in), how long a tasing lasts, the distances that
decide caught, losing and escaped, and how much weight an order carries.
Config.Police.CuffExport.resource ships empty: the old value named
an export qb-policejob does not have, so if you switch cuffing to
export, fill in your own script’s name. More of them, all on the Police work page:
| Taser range | TaserRange, 12 m. A hit from farther away is not believed, and the officer must be holding a stun gun. |
|---|---|
| A taser never kills anybody on a call | TaserNeverKills, on. New in 0.0.36-beta. The game’s stun gun does a little real damage, and somebody already hurt — a driver pulled over, a victim on the ground — could die from it. On, taser damage to a person on a call is put back at once, and anybody it killed is brought straight back, down and tased. Off: the game decides. Every other weapon is the game’s business either way. |
| What counts as a taser | TaserWeapons (in the config file), WEAPON_STUNGUN and WEAPON_STUNGUN_MP. New in 0.0.36-beta. A taser from a weapon pack goes in by its weapon name, for example 'WEAPON_TASER'; until it is listed, a hit from it neither puts anybody down for the call nor is kept from killing. |
| A foot pursuit ends after | PursuitMaxSeconds, 240. A runner neither caught nor out of sight by then counts as lost. |
| A drawn firearm is noticed within | ArmedUnitRadius, 15 m. 0 turns the effect off. |
| A detained person is “alone” past | UnattendedRadius, 10 m. |
| And decides whether to run every | UnattendedSeconds, 20. |
| Transport counts once the car is this far out | TransportDistance, 100 m. 0 brings back the old behavior: transported the moment they are in the car. |
| Where officers take a prisoner | TransportTo, auto (was distance before 0.0.37-beta): to jail once a drop-off point is marked. distance keeps the old way. See Driving them to jail. |
| How close to the drop-off point counts as there | DropOffRadius, 30 m. |
| What the NPC prisoner van is called | VanName, “prisoner transport”. |
| Armed suspects can fire at officers | Armed.Shoot, on, and How well armed suspects shoot (Armed.Accuracy, 25). New in 0.0.31-beta; see Armed suspects and high-risk calls. |
| Vehicle pursuit: caught, lost, got away | VehiclePursuit.CatchDistance 8 m (the car has stopped with a unit this close), LoseDistance 250 m, EscapeDistance 600 m. The foot numbers above still apply to a runner on foot. |
Vehicle calls and the street
Vehicle calls holds the approximate location a moving car gets
(a block or two off, drifting), how long a car has to be lit up before the
driver decides, and the car
hint (Config.Traffic.Hint: on, the arrow, the marker and
their distances). The street holds the stop key
(Config.Street.Vehicles.StopKey, U), the
direct key (DirectKey, O), the leash
(150 m), the chances rolled on a stopped car, the bad-driving categories
ambient traffic may show, the street instigators and the person menu key.
See Traffic stops, and the cars that run.
New in 0.0.31-beta, on The street: Let officers pick
how a stopped car pulls over (PullOverChoices, ships
off while it is tested), the default for an officer who has
not picked (PullOverStyle, right), how long “follow my
lead” lasts (FollowMaxSeconds, 600) and the game’s
megaphone line (PaVoice, on). See
How they pull over.
NPC services
Each service’s mode (on request, when nobody is available, always,
never), the grace period before one is even requested, and where they appear.
Also: Reserve police unit (backup)
(Config.Auxiliary.Services.backup.mode, when nobody is
available), A radio page that finds nobody gets a reserve unit
(PageFallback, on), Send our tow if the Roadside Assist tow
falls through (OutsideTow.Fallback, on), The reserve
unit stands by this long (BackupStaySeconds, 900),
Give the reserve unit things to do
(Partner.Enabled, off; see The
reserve unit as a partner), NPC
engine company water, in handlines (FireAttack.Rate, 1.0)
and NPC EMS has this long to load the patient
(LoadSeconds, 40).
And Chance a conscious, lightly hurt patient refuses the
ambulance (Config.Auxiliary.RefuseTransportChance, 0.25; 0
means every patient goes) and NPC units leave this long after
finishing (DepartSeconds, 20), and NPC units go in
through ways in (ThroughWaysIn, on). How long a crew works at the
curb, per service, is Config.Auxiliary.WorkSeconds (20 by
default, EMS 25, prisoner transport 30, taxi 15), which is set in
config.local.lua rather than the panel.
Dispatch
The talkgroups and tone sets, AI paging, and Open calls as a real 911
call (Config.Dispatch.Use911), which ships as
never — see If you
subscribe.
The catalog — turning calls off without editing a file
Every callout carries tags. Put a tag in the catalog's exclude list and no callout carrying it is ever opened — no file to edit, nothing to delete, and it survives an update. The tags the shipped catalog uses:
traffic · property ·
violent · weapons · drugs
· alcohol · medical ·
crisis · death · fire
· hazmat · rescue ·
alarm · report ·
assist
A community that does not want drug calls excludes drugs. One
that wants nothing with a body in it excludes death. It is the
right way to tune the catalog to what your server actually roleplays.
The exclude list ships as { 'active_shooter' }: the active
shooter call runs only on a server that takes it out.
New in 0.0.31-beta. Two sets of new calls ship off while
they are tested, each with a switch on Jobs and duty:
Run the twelve armed, high-risk calls
(Config.Catalog.HighRiskCalls, tag high_risk; see
Armed suspects and high-risk calls) and Run the 21
new medical calls for medics (Config.Catalog.EmsCalls, tag
ems_calls; see Twenty-one more EMS
calls). Off works exactly like the tag being in the exclude list.
Services and integrations
Your job names per service, whether on duty is required, and the resource names of the optional integrations. Each integration is detected at runtime, every call into one is wrapped, and the resource is complete without any of them.
The third eye is found from Config.Integrations.Targets,
which ships as { 'ox_target', 'ox-target', 'qb-target', 'qtarget',
'fusion-target' }; the first one running is used, and called by its
own name. A targeting resource with qb-target’s API under another name
can be added to the list in config.local.lua. A
config.local.lua that sets its own list replaces this one, so
one written for an earlier version may need the new names added.
With some third-eye resources, the click that
opens the eye or picks an option also reached the game, and an officer with
empty hands threw a punch at the person they were looking at. While the eye
key is held, and for a second after it is let go or an option is picked, your
character cannot melee. The eye, aiming and shooting work as before.
Config.Integrations.TargetMeleeGuard ships as
{ EyeControl = 19, AfterMs = 1000 }: 19 is Left Alt, the eye key
for ox_target, qb-target and fusion-target. Change it if your eye is on
another key, or set false to turn the guard off.
Since 0.0.38-beta the same guard covers our own menus, with or without a third eye: while the wheel, the person menu or the panel is open and for a second after (the click that picks a slice no longer lands as a punch), and whenever a patient, or anybody who cannot respond, is within arm’s reach. Somebody standing and able to fight is not covered: a fight is still a fight.
The service lists ship as Config.Services.police,
.fire, .ems, .dot, .security,
.ranger, .marine, .animal_control and
.towing, with the job names in Security,
rangers, lifeguards and animal control and Towing. The
tow trucks, vehicle sizes and yards are Config.Towing (see
the Towing page), and BackdraftCAD is
Config.CAD (see Your CAD). Services of your own are Config.CustomServices, and
Config.Duty.Force puts everybody on duty as one of them. z_fire is
Config.Fire.External.ZFire (see z_fire’s
fires become calls), and traffic zones Config.TrafficZones (see
Slowing and stopping traffic).
Checking and fixing locations
A location is four numbers in a file, and nothing about reading it tells you that the point is inside a wall, that the curb slot is in a hedge, or that the approach node is on the far side of a freeway with no way across. You find that out when a call opens there and a crew drives to a fence.
So there are two tools, and between them a server with its own MLOs can have its own storefronts, bars and apartment blocks without writing coordinates by hand.
One command for location work: /pssscout
New in 0.0.30-beta.
/pssscout asks what you want to work on. The choices are on
the screen with the key for each; there is no window and no mouse, so you
keep walking.
| Key | Choice | What it does |
|---|---|---|
| 1 | A call opened in the wrong place (outside) | Fix a spot on a road, a lot or open ground, standing where it should be. See below. |
| 2 | Mark the inside of a building | Scouting. See Your places. |
| 3 | Buildings: what each one is | The Buildings list. |
| 4 | Check every location for problems | The tours in the admin check: every location, or fire locations only. |
| U | Your places, and setting up a call | Straight to the places page, as “/pssscout, then U” always did. |
Run /pssscout again to close whatever it opened.
A call opened in the wrong place
New in 0.0.30-beta.
A truck “stuck under a bridge” that opens in the middle of a parking lot is a location problem. To fix it where you stand:
/pssscout, then 1. The list opens with any spot a player reported, then where the last forty calls opened (by the call’s own name, whoever worked it, kept across restarts), then the spots nearest you. The arrow keys page through it.- Pick one. You are taken there, and the call (blue), where units park (gold) and the way in (green) are drawn on the ground.
- Stand where it should be, facing the way a unit should face, and press E to move the call there, G for the parking, H for the way in, or X to turn the spot off so no call opens there.
It is saved to data/locations.json, which an update never
touches.
Players can report a bad spot. Anybody working a call:
wheel → More → Report: call in the wrong place.
Admins on the server are told, and the spot is first on
/pssscout’s list with the name of who reported it, until an
admin changes that spot.
The bridge call. “Truck stuck under a bridge” opens at highway and road spots; it is not tied to real overpasses. Moving or turning off a bad spot fixes that spot, not where the call opens next.
Before your players do: the admin check
Every built-in location was stood on and measured in game — a bar 33 m in the air, a freeway call in the river channel and a “warehouse” that was a house were moved to the building’s door, the road’s shoulder or open ground, and five with no real place near them were removed. Your map is not ours, so run the same checks once after installing or updating, and again after you add places:
/psslocationcheckdrives you through every location and measures it: the nearest building and its height, the street, the road, the ground. Each point gets ok / look / fix for what its calls need; the report is on the server console and indata/location-survey.json. Fix the flagged ones in/pssscout→ 1, or/pssadmin→ Check a scenario’s locations. Backspace stops the tour./pssfirecheckjudges every fire location where it stands: in the air, inside an interior, no walkable floor, over a ledge, far from a road. A fire call opens only where a fire can burn and an engine can reach./pssscoutmarks your buildings with a real inside. Calls with people inside open only at a place you marked;/pssdiaglists the ones still waiting. See Your places./pssadmin→ Check a scenario’s locations walks one callout’s points, and Test a call here opens it on the spot so you can work it before a player does.
A call that opens at a wrong point is a location problem, never a scenario problem: fix the point and every call that uses it is fixed.
The inspector: walk a callout's locations
/pssadmin → Check a scenario's locations.
Pick a callout and load it, and you get every point it can use with what it
has and what it is missing — curb slot, approach, edited, turned off.
Then, per point:
| Go there | Teleports you to it. The scene marker is drawn in blue, the curb slot in gold and the approach in green, so you can see what is wrong rather than imagine it. |
|---|---|
| Scene is here | Moves the point to where you are standing, facing where you are facing. |
| Curb slot here | Puts the NPC parking slot where you stand. |
| Approach here | Puts the out-of-sight approach node where you stand. |
| Turn off | Takes one bad point out of the pool without touching the rest of the set. |
| Undo my edits | Drops your override. The live point keeps the edited values until the next restart, and it says so. |
It never edits the shipped files. What you change goes in
data/locations.json as an override keyed to the point it
replaces — the same rule the settings store lives by. The files in
locations/ are ours and an update overwrites them; your
adjustments are in data/, which an update never touches.
An override carries the coordinates it was made against. If a later release reorders or replaces a set, the override no longer matches the point it was written for, so it is refused and reported at boot rather than silently moving some other location somewhere nobody intended. That check is the whole reason this is safe to ship.
/psspoint: write a new one by standing in it
Stand where the scene should be, face the way a responder should face, and run:
/psspoint the 24/7 on Innocence
It prints a finished, pasteable point table to the F8 console —
coordinates rounded to one decimal, the heading you are facing, and a curb
slot a few meters behind you. Then walk to the hydrant and run
/psspoint hydrant, or to the approach and run
/psspoint approach, and it prints just that line to drop into the
point you already made.
It goes to the F8 console rather than chat because the output is several lines of Lua with braces in it, and chat truncates, cannot be copied, and shows it to whoever is standing next to you.
It is not ace-gated: it reads your own position and
changes nothing, so location work can be handed to a builder without handing
over /pssadmin. Paste the result into a file of your own under
locations/ and see Locations for the
shape.
Your settings, the data folder, and updates
Everything is configured in game
/pssadmin is the whole configuration surface: a sidebar of
pages, every setting with plain-language help beside it, validation on every
field, and a dot against any page you have changed something on. There is no
config file to edit and no restart to take a change — the next call uses
it.
| Jobs and duty | Which jobs are which service, whether duty is required, and — for a server with no job system — who may put themselves on duty. |
|---|---|
| How busy | How often something happens, and the caps that keep an evening sane. |
| How far away calls are | The nearest and farthest a new call lands from the nearest on-duty unit. |
| Paging | Who gets told about a new call, and how. |
| Call card | Size, position, how long it stays, and what it sounds like. |
| Fire | The burn: knockdown, spread, flashover, water range. |
| The fireground | Air, overhaul, the secondary search and the rekindle. |
| Other fire scripts | Smart Fires, Smart Hose, the Zea range, Fusion Fires, Fire Tools. |
| Police work | Searches, the taser, the foot pursuit, how people react to the officers around them, and transport. |
| Vehicle calls | Calls that arrive moving, and whether they pull over. |
| The street | Street stops, car stops, instigators, bad driving, and the person menu. |
| Conversation | The questions and answers on screen: on or off, how long, where, and how big. |
| NPC services | EMS, the coroner, the tow, prisoner transport. |
| Animal control | And the rule that protects a working K9. |
| Dispatch | The radio: talkgroups, tone sets, 911 origination, AI paging. |
| Dispatch on the air | What dispatch says, and the phrases your units say back. |
| Performance | The budget. These are what keeps a busy evening cheap. |
| Troubleshooting | Debug output, the live trace, and the newer-version check. |
The data folder
Everything you change lives in data/, and nothing we
ship does. That is the whole upgrade story, and it is worth
understanding before your first update.
The folder arrives empty, with a note in it. The resource writes into it as you use the panel:
data/settings.json | Only what you changed from the shipped defaults — not a copy of the configuration. A setting you never touched is not in this file, so when a new version changes a default, you get the new default. That is why the panel can show you a dot against what you have edited, and why an update cannot quietly revert your work. |
|---|---|
data/locations.json | Your location corrections, keyed to the point they replace. The shipped location sets are never edited — see Checking and fixing locations. |
data/orphans.json | Bookkeeping for entities a crash or a restart left behind, so the next start can clean them up instead of leaving a body in the street. |
data/*.broken.json | If a file ever fails to parse, it is moved aside under this name rather than deleted, and the resource starts on the shipped defaults. Your file is still there to look at. |
The upgrade is: replace the folder, keep data/ and
custom/. Those two are yours — your settings,
and your own callouts and location sets. Everything else in the download
replaces cleanly. The build refuses to ship anything in either folder, so
an update cannot overwrite them even by accident.
Back data/ up with the rest of your server. Deleting it
resets this resource to its shipped configuration and nothing else —
no scenario, no location and no player data lives in it.
The one file that is not in the panel
Command names and the two key bindings have to be registered when the
resource starts, before any panel exists, so they are the one thing the panel
cannot own. They live in an optional config.local.lua you write
yourself; config-local-EXAMPLE.lua ships as the template, spelled
so an update can never match it. If you never need to rename a command, you
never need the file.
data/settings.json holds only what you changed
from the shipped values, and the download does not contain that file. So:
- An update cannot overwrite your configuration. Replace
the folder; keep
data/. - If a default you never touched gets better, you get the improvement.
- A new setting arrives with its new default rather than half-existing.
config.local.lua works the same way. The manifest globs
config.local*.lua, so the zip never carries that name and the
packaging script refuses to build one that does. The template ships as
config-local-EXAMPLE.lua, spelled so the glob cannot match it.
Almost nobody needs it: the panel covers everything except the command names
and the panel key, which have to exist before the panel does.
Both files are checked. /pssdiag names any key in either one
that nothing reads — with a suggestion when your spelling is one edit away
from ours, because a misspelled setting that silently changes nothing is the
worst kind of configuration bug.
Performance
Nothing in this resource runs every frame on the server. The only frame-rate loop on the client is the on-screen prompt, and it sleeps at 500 ms until you are within a few meters of something you can act on.
- Idle, with no call open: one ten-second thread. That is all.
- A call nobody has driven to costs one table. No ped, prop, vehicle or fire exists until a responder is within 250 m — and it is all torn down again, facts intact, when everybody leaves.
- Scene logic runs at 1 Hz, and rules also evaluate the instant a fact changes. That is what makes a scene feel responsive without polling for it.
- Hard caps on scenes, people, vehicles, props, fire seats and NPC units, all in the panel.
/pssdebug perf prints the numbers, so “this feels
heavy” can be answered with a figure instead of an impression.
Troubleshooting
Run /pssdiag first. It answers most of what follows on its
own.
GTA’s own police showed up in a shootout
Fixed in 0.0.31-beta. The game’s police come for a player with
wanted stars, and on a server that never turned GTA’s wanted system off
they arrive in a shootout and shoot the player. The resource now keeps every
player’s wanted level at zero and stops GTA sending its own police,
fire and ambulance responses. It is on with no setup and is not a
/pssadmin setting. A server that wants GTA’s wanted stars
back puts setr pss_keep_wanted_level true in
server.cfg (it survives updates), or deletes
client/no-wanted-level.lua, which is readable, not
encrypted.
No calls ever happen
- Jobs not mapped. The most common cause by a wide margin.
/pssdiagprints the job names it matched and the services that have none. - Nobody on duty. On duty is required by default, and the Director will not open a call for a service with nobody on.
- Everything is cooling down, or the caps are already met.
Both are printed, in the server console, each time the reason changes.
Start a call now in
/pssadminignores cooldowns — you asked for one — so if the button opens a call and the timer does not, the timer is simply pacing. - No usable location. A call has to land between
Config.Director.MinDistanceFromPlayers(200m by default) andMaxDistanceFromPlayers(2500m) of an on-duty unit of that service — near enough to be worth taking, far enough that it is somewhere to drive to rather than something appearing on top of you. The reason names which scenarios it tried and whether their points were cooling down or out of that range, because those have different fixes. On a one- or two-player server the usual answer is the range: park somewhere with more of the map around you, or raiseMaxDistanceFromPlayers.
A page reached some people and not others
Those players are off duty, in a job that is not mapped to that service, on
another call already (one scene per player by default), or they have run
/pssoff.
Have the player run /pssme. It prints the raw
duty field straight off the framework beside this resource's reading of it, and
the two disagreeing is the actual failure mode: a duty script that does not
write the field qb-core reads leaves somebody on duty everywhere except here,
and nothing short of seeing both numbers tells you that. It also prints which
job list was consulted and what is in it, and says ELIGIBLE or NOT ELIGIBLE
with the reason.
It says “that command is for admins”
Have that player run /pssme and read the
admin block in their F8 console. It prints the ace this resource
looks for (pss.admin; also
sals_kewlpublicsafetysimulator.admin works too), whether it matched, whether your
framework’s own admin check matched, and every identifier the
server holds for that session. That last list is usually the answer:
a server.cfg line granting the ace to
identifier.discord:… does nothing for somebody who connected
without Discord running, because that identifier does not exist on their
session. Grant it to an identifier that is in the list —
license: is always there — and either restart the server or
paste the same add_ace line into the live console.
Two other things that look identical from the outside: an
add_ace group.admin pss.admin allow line grants the ace to a
group, so it does nothing unless an add_principal line
puts that player in group.admin; and a server run through txAdmin
reads the server.cfg in its own data folder, not one beside the
resources.
A crew drove to a fence, or an NPC unit parked in a hedge
That point needs fixing, and you can fix it without editing a file:
/pssadmin → Check a scenario's locations, walk to it,
and say where the scene, the curb slot and the approach should be. See
Checking and fixing locations.
“You are not at the scene yet”
On scene is refused from farther out than the staging radius (250 m by default), from the panel and the radio alike. Drive closer and say it again. A unit three kilometers away used to be given command and every on-scene action; that is the behavior this replaced.
Transport is refused
Transport is a drive now. The answer says which part is missing: you are not in a vehicle, you are not in the driver’s seat, the prisoner is not aboard, or you are not yet far enough from the scene (100 m by default). Or ask for the prisoner van. With prisoners going to jail, the answer is that you are not at the drop-off yet (the route is set again) or that the prisoner is not with you there.
A night-time call never comes up
Six calls only open in a window of hours. The server reads the hour from a
weather-sync resource that publishes GlobalState.time when there
is one; otherwise from the game clock your players’ clients report once
a minute; and with neither, from the real-world clock. If your server freezes
the time of day, those calls follow the frozen hour.
The call exists but the scene is empty
Nothing is created until somebody is within 250 m. If you are closer than that and still see nothing, check the console for a line about a role that could not be created: a per-scene entity cap or a bad ped model will be named there. A scene with a missing witness carries on deliberately — a worse scene beats a broken one.
A callout I added is not in the catalog
In order: the resource has to be restarted; the file has to be under
scenarios/; and the boot log will have said either
REFUSED with the reason, or nothing at all — and nothing at
all means the file failed to load as Lua, which prints further up the console.
See Checking your work.
An NPC ambulance never arrived
By default the NPC services come only when nobody is covering that job, and there is a grace period first. With a medic on duty you will not see one, and that is the intent. The panel's Call for section shows the state and the ETA of anything that was requested. A request answered “has already been here” means that service already came and finished on this call.
And you can call one off. Anything you asked for has a cancel beside it while it is still coming. If nothing has spawned yet it simply never arrives; if it is already driving it turns around and leaves the way it came, because deleting a truck somebody can see is worse than letting it drive off. A unit that has already arrived and is working cannot be canceled — it finishes and departs on its own.
The fire will not go out
Water counts when you are within range and roughly pointed at the seat, and
a seat needs a measured amount of it. /pssdebug scenes shows the
seats and their water. An intensity above 1.0 means the callout author made that
fire deliberately stubborn.
Developers: what a callout is
Everything from here on is for whoever writes the calls. You do not need to be a Lua programmer to do it, and that is deliberate.
A callout is a table, not code. It says who is in the
scene, what is true, how it moves, and how it can end. The conditions in it
are written in a tiny expression language of our own — ten roots, six
comparators, and / or / not — which
is parsed once when the file loads and can do nothing it was not designed to
do.
That design choice is the whole point. scenarios/ is a folder
we invite you and strangers to put files in, and callout files are meant to be
shared: posted, downloaded, forked, dropped into somebody else's
server unchanged. A string of Lua run through load() is not a
sandbox; it is an arbitrary-code hole that arrives looking like content. A
table with a small grammar is data, and data cannot do anything it was not
designed to do.
The cost is that the grammar is small. That turned out to be a feature: the whole vocabulary fits in this section, which is also what makes a callout writable by hand.
Where files live
Anywhere under scenarios/. Subfolders are fine — the
shipped catalog uses scenarios/police/ and
scenarios/fire/ — and so is a single file dropped straight
into scenarios/. The folder is globbed by the manifest, so:
- There is no manifest to edit and no list to join. Nothing anywhere else needs to know your file exists.
- Adding a callout is copying a file in and restarting the resource:
restart sals_kewlpublicsafetysimulator
Two function names register one, and they are the same function:
Scenario.Register({ ... })
Callout.Register({ ... }) -- the same thing, under the name everybody else uses
This resource calls them scenarios; the rest of FiveM calls them callouts. Being strict about our vocabulary at the cost of somebody's first file loading would be a bad trade, so both work and neither is deprecated.
Nothing broken loads quietly
Every callout is validated when it registers. A malformed one is refused by name, with the file, the line and the reason, and the rest of the catalog still loads. The three mistakes that are completely silent without that check:
- A rule that reads a fact or a role the callout never declares —
fact.armedwhere you declaredsuspect_armed. An undeclared path is simply never true, so the condition would never fire and nothing would ever say why. - A location set that does not exist, or one with no curb slot while the callout asks for a tow truck.
- An action name nothing implements.
esculate(2)is a typo that would otherwise do nothing forever.
Your first callout
Save this as scenarios/police/my_first_call.lua and restart the
resource. It is complete, it is valid, and it is a real call: somebody is
reported in a parking lot who should not be there, and one time in five they
are wanted.
Scenario.Register({
-- Identity. The id has to be unique and may only contain letters, numbers
-- and underscores. Give yours a name of your own and it can never collide
-- with one of ours.
id = 'my_first_call',
title = 'Suspicious person',
service = 'police', -- who gets paged: police, fire, ems, or a list
priority = 4, -- 1 emergency .. 4 public assist
weight = 20, -- how often it comes up, relative to everything else
units = { min = 1, ideal = 1 },
tags = { 'report' }, -- so an owner can switch off calls like this one
locations = 'parking', -- a set registered in locations/
-- WHAT DISPATCH SAYS, which is not the same as what is true. One of these
-- is picked per call, and it is what the page carries.
as_reported = {
'caller reports somebody looking into cars',
'caller reports a person in the lot who should not be there',
},
-- WHO IS IN IT.
roles = {
person = {
label = 'the person in the lot',
npc = { models = { 'a_m_y_downtown_01', 'a_f_y_hipster_02' } },
offset = { x = 1.0, y = 1.5, z = 0.0 }, -- from the call's coords
-- Which of the scene's facts belong to this person, and which verb
-- uncovers them.
facts = { 'person_name', 'person_wanted', 'person_is_resident' },
onId = { 'person_wanted' }, -- running them
onInterview = { 'person_name', 'person_is_resident' }, -- talking to them
-- WHAT THEY CAN BE ASKED. Every person can already be asked "what
-- happened here?", "are you hurt?" and "did you see anything?" --
-- these are the ones that are about this call.
questions = {
{ id = 'why_here', text = 'What are you doing out here?',
says = "I live in the building. Second floor.",
lie = "Just waiting on somebody.",
reveals = { 'person_is_resident' } },
-- Only askable once you know they live here, which is how a
-- conversation opens up as it goes.
{ id = 'which_unit', text = 'Which apartment?',
requires = 'known.person_is_resident',
says = "2B. I've got my key on me." },
},
-- How they behave. All four are 0..1 and all four move.
disposition = { compliance = 0.65, flight = 0.2, violence = 0.02, honesty = 0.5 },
},
},
-- WHAT IS TRUE. Rolled once, when the call opens, and never re-rolled.
facts = {
person_name = true,
person_wanted = { chance = 0.2, hidden = true }, -- nobody is told
person_is_resident = { chance = 0.5, hidden = true },
},
-- HOW IT MOVES. `known.x` is "the crew has found this out", which is not
-- the same as `fact.x`, which is "this is true whether or not they know".
rules = {
{ when = 'known.person_is_resident',
then_ = 'say("they live in the building and have a key")' },
-- Somebody who hears their own warrant read out gets twitchy.
{ when = 'known.person_wanted and not role.person.detained',
then_ = 'disposition(person, "flight", 0.4) + say("they keep glancing at the street")' },
-- The disposition crossing the line is what actually makes them run.
{ when = 'role.person.disposition.flight > 0.6 and not role.person.restrained',
then_ = 'flee(person) + escalate(1) + say("they run")' },
},
-- HOW IT CAN END. Lower `order` wins when more than one is satisfied.
outcomes = {
got_away = {
order = 1, quality = 'poor', label = 'They got away',
requires = 'role.person.fled_scene',
},
arrest_made = {
order = 2, quality = 'good', label = 'Arrest made',
requires = 'role.person.restrained and report.filed',
},
moved_along = {
order = 3, quality = 'acceptable', label = 'Checked out, moved along',
requires = 'role.person.spoken_to and report.filed',
},
},
})
What happens when it runs: an officer is paged to a parking lot with a line about somebody looking into cars. Ask them what they are doing out here and half the time they live in the building and have a key, which is the end of it — unless they are nervous enough to lie about it, in which case the question stays there and an officer who settles them down can ask again. Ask for ID, run them, and one time in five there is a warrant — and the moment that lands on the board their flight climbs, so an officer who is slow to put hands on them watches them run. Catch them and it is an arrest; lose them and the call closes as They got away, which is a real ending rather than a failure state.
Three things in that file are the whole authoring model, and the rest of this manual is detail on them: facts that are hidden until somebody does the work, dispositions that move, and outcomes that describe what happened rather than scoring it.
Before you restart, check it from a terminal in the resource folder:
python tools/validate.py
That runs the server's own validator against your file and tells you what is wrong with it, by name, in a second. See Checking your work.
Anatomy of a callout
Every field, what it is for, and what happens if you leave it out.
| Field | Required | What it is |
|---|---|---|
id | yes | Unique. Letters, numbers and underscores only. Registering an id that already exists replaces it — that is how you override one of ours. |
title | yes | The line a responder reads on the page. Write it the way dispatch would say it. |
service | yes | 'police', 'fire', 'ems', or a list such as { 'fire', 'police' }. The first one leads: it must be in use on the server and have a unit on duty before the call is opened at all. The rest are who else is paged, and a service with nobody on simply pages nobody. If the call truly needs the second service present, say so with conditions.min. |
priority | no (3) | 1 emergency, 2 urgent, 3 routine, 4 public assist. Drives the page styling, the tone-out, and a small nudge to how often it comes up. |
weight | no (10) | Relative likelihood. Must be above zero, or the callout can never be chosen. |
units | no | { min = 1, ideal = 2 }. Carried on the page so a crew knows what the call wants — and ideal is weighed against who is actually on duty: a four-unit call is several times less likely on a two-officer server, without ever being impossible. |
as_reported | no | What dispatch says, which need not be the truth. A line of text, or a list of them with one picked per call. Without it the page carries the title. |
tags | no | Single words. A server owner excludes a tag and no callout carrying it is ever opened. Use the shipped vocabulary where it fits: traffic, property, violent, weapons, drugs, alcohol, medical, crisis, death, fire, hazmat, rescue, alarm, report, assist. |
cooldown_group | no | One word. Every callout sharing it shares a cooldown, so three different violent calls do not land in a row. |
conditions | no | When this call may come up at all — hour, weather, units on duty. See below. |
locations | yes | Three shapes: the name of a set registered in locations/, a list of set names pooled together, or this callout's own inline list of points. |
roles | no | The people. Each needs an npc block. See Roles. |
facts | no | What is true. See Facts. |
rules | no | A list of { when = '...', then_ = '...' }. See Conditions. |
outcomes | yes | At least one, or the scene can never close. Two or three is what makes a callout worth running twice — the validator warns at one. |
vehicles | no | { { model = 'sultan', offset = { x = 0, y = 0, z = 0 }, heading = 90.0 } }. Created at staging, counted against the per-scene vehicle cap. A vehicle may carry when_fact = 'x' and is then only there when that fact rolled true. |
props | no | The same shape, for scenery. |
fire | no | The fire block. See Writing a fire callout. |
aux | no | The NPC services this callout may ask for: { 'ems', 'coroner', 'tow' }. |
verbs | no | Your own label for a verb on this call only: verbs = { found = 'Go to the patient' }. “Check the area” is the wrong words for somebody lying in plain sight. Anything not named keeps its usual label. |
author, version | no | Carried through to the catalog listing in /pssadmin. Put your name on a file you intend to share. |
What dispatch says, and what is true
title is the catalog name — the admin list, the
after-action report. as_reported is what goes out on the page, and
the gap between the two is most of what makes a call worth driving
to:
title = 'Shoplifter in custody',
as_reported = {
'store staff holding a shoplifter',
'caller reports a theft, suspect held by staff',
'loss prevention has somebody detained',
},
One line is picked per call. Write them the way a caller actually gets it wrong: vague, partial, sometimes confidently mistaken. A page that says “a man with a gun” for what turns out to be a phone is a better evening than a page that reads like a case file — and when it is a gun, the crew who took the report seriously were right to.
When a call may come up at all
conditions = {
hour = { 21, 4 }, -- 9pm to 4am. Wraps midnight.
weather = { 'RAIN', 'THUNDER' }, -- only in this weather
exclude_weather = { 'XMAS' }, -- never in this weather
min = { police = 2 }, -- needs two officers on duty
},
cooldown_group = 'violent', -- shares a cooldown with every callout naming it
Everything is optional, and no conditions block means any time,
any weather — which is what almost every callout wants. Hours are read
from the game clock your players see (or your weather-sync resource), so an
hour window genuinely opens and closes. Reach for it when
the call genuinely does not make sense otherwise: a bar fight at nine in the
morning, or a four-unit raid with one officer on.
Note the two ways to say “this needs a crew”, because they are
different. units.ideal makes a big call less likely on a
thin shift and still possible — a brave officer may want it, and refusing
to offer it is not our decision to make. conditions.min makes it
impossible. Prefer ideal; use min only when
one unit on their own would be a bad evening rather than a hard one.
Everything is checked. A priority of 7, a weight of 0, a disposition of
1.4, a service called 'policee', an hour of 25, a location set
nothing registers, an action nothing implements, a rule reading a fact you
never declared — each one is refused with a sentence telling you which it
was.
Facts and the fact board
A fact is one true thing about this call. Facts are the memory of the scene, the reason a crew's work accumulates, and what the rules and the outcomes read.
Declaring them
facts = {
driver_name = true, -- always true
vehicle_insured = false, -- always false
license_suspended = { chance = 0.28 }, -- true 28% of the time
stolen_value = { roll = { 15, 420 } }, -- a number in that range
warrant_active = { chance = 0.12, hidden = true },
}
Rolled once, when the call opens, and never re-rolled. A crew who searches twice gets the same answer twice, which is the only honest way for a fact board to work.
Two facts that cannot both be true: unless
Independent rolls produce nonsense: a fire alarm that was a malfunction
and a real fire, a resident who answered the door and had
been dead for three days. unless names the fact (or a list of
them) that, when it rolls true, forces this one false:
facts = {
malfunction = { chance = 0.55 },
actual_fire = { chance = 0.2, hidden = true, unless = 'malfunction' },
-- Exactly one of these three, in order.
person_down = { chance = 0.15, hidden = true },
kid_dialed = { chance = 0.2, hidden = true, unless = 'person_down' },
pocket_dial = { chance = 1.0, hidden = true, unless = { 'person_down', 'kid_dialed' } },
}
The fact named is always decided first. Naming a fact the callout never
declares is refused at load, and so is a loop (a unless
b, b unless a), because no order
resolves it.
Hidden, and the difference between fact and known
This is the single most important idea in the whole authoring model. There are three ways to ask about a fact and they mean different things:
fact.x | The truth, whether or not anybody has found it out. |
|---|---|
known.x | The value, once discovered. Nothing until then. So known.warrant_active is true only when the crew has run them and there is a warrant — and known.bac > 0.08 reads the number they actually got. |
checked.x | True once it has been looked into, whatever the answer was. The rarer question, and it gets the longer name. |
known.x is the value and not the discovery flag, which is
the distinction to get right. A warrant that rolled false and then got run
makes checked.warrant_active true and leaves
known.warrant_active false — so a rule written on
known. fires on a warrant that exists, and never on a clear
return. Reach for checked. when what matters is that somebody
bothered to look:
{ when = 'checked.warrant_active and not known.warrant_active',
then_ = 'say("the return is clear")' },
A fact declared with hidden = true starts undiscovered: it is
true in the world and nobody on the call has any idea. Everything else starts
known, because the caller said it on the phone.
So a rule written against known. is a rule about information,
and a rule written against fact. is a rule about reality:
-- Information changes the job. The crew learns somebody is inside, so the
-- search becomes urgent. THIS is the rule you want most of the time.
{ when = 'known.occupants_unaccounted',
then_ = 'escalate(1) + objective("primary_search", "Somebody is unaccounted for -- search it")' },
-- Reality, regardless of who knows. Nobody went in and the fire took the room.
-- The person dies whether or not anybody asked the homeowner who was inside.
{ when = 'fact.occupants_unaccounted and scene.age > 540 and not role.occupant.rescued',
then_ = 'set(fatality, true) + flag(occupant, deceased) + request_aux(coroner)' },
Writing fact. where you meant known. produces a
callout that behaves as though the crew is psychic. It is the most common
authoring mistake after a misspelled fact name, and unlike that one the
validator cannot catch it — both are legal.
Who finds what
A hidden fact becomes known when a verb reveals it. Which verb is decided by the role that owns the fact (next section), or by the verb's own rules:
| Fact name | Found by |
|---|---|
plate_stolen, vehicle_unregistered, vehicle_wanted | Running the plate. |
Anything starting vehicle_, or containing contraband | Searching the vehicle. |
intoxicated | A field sobriety test, or a breath test. |
bac | A breath test, which invents the number if the callout did not. |
Anything starting structure_, plus occupants_unaccounted | A fire size-up. |
<role>_name | Asking that person for ID. The fact then carries the name off their license, so declaring it as true is only a statement that the fact exists. |
license_suspended, license_expired | Written on the license itself, so the card an officer is handed reads SUSPENDED or EXPIRED. Also found by running them, if the role lists them under onId. |
<role>_found | A primary search, for a role marked victim = true. |
Naming a fact to match one of those patterns is how you hook into a verb
without writing a rule for it. plate_stolen is found by running
the plate for free, in every callout, forever.
Facts the verbs set on their own
These appear on the board whether or not you declare them, and your rules and outcomes may read them — but only if you declare them, because an undeclared name is refused in a condition:
vehicle_searched, statement_taken,
scene_photographed, property_seized,
sized_up, entry_made,
primary_search_done, victim_found,
vented, fatality, traffic_controlled,
citation_issued, warning_given,
breath_refused, cpr_started,
aed_applied, pulse_back,
zone_established, building_cleared,
shut_off, fire_burned_out,
refuses_transport.
And per person, for a patient: <role>_condition (the
word a check found), <role>_checked,
<role>_cpr and <role>_viability. Two
facts a callout can declare to change what a verb allows:
aed_on_site or aed_fetched puts an AED within reach
of a unit who does not carry one, and shockable is the rhythm
when the clock is off. Declaring refuses_transport true makes a
refusal of the ambulance certain.
Declare the ones you want to use, usually as false:
facts = {
scene_photographed = false,
statement_taken = false,
}
Roles and dispositions
A role is a part in the scene. It is filled by an NPC, it has a name your rules refer to, and it accumulates flags as the crew works on it.
roles = {
suspect = {
label = 'suspect', -- what the panel calls them
npc = { models = { 'a_m_y_methhead_01', 'a_f_y_hipster_02' } },
offset = { x = 1.2, y = 1.0, z = 0.0 },
idle = 'wander', -- 'wander' (default) or 'victim'
armed = false, -- visibly armed from the start
facts = { 'suspect_name', 'warrant_active', 'suspect_armed' },
onId = { 'warrant_active' }, -- running them finds this
onInterview = { 'suspect_name' }, -- they will say this
onSearch = { 'suspect_armed' }, -- a pat-down finds this
-- ...and `pockets` says what is actually on them when it does.
-- See "What a search finds".
disposition = { compliance = 0.55, flight = 0.30, violence = 0.05, honesty = 0.35 },
},
}
| Field | What it does |
|---|---|
label | The words the panel and the log use for them. Lowercase, as a sentence would have it: the homeowner, store clerk. |
npc | { models = { ... } }, or { model = '...' }. One is picked at random, so a list is worth writing. A role with no npc block is refused: nobody could fill it. |
offset | Where they stand, relative to the call's coordinates. |
idle | What they do before anyone touches the scene. 'wander' is the default; 'victim' is for somebody who is down and staying down. |
victim = true | Marks them as what a fire primary search looks for and what Pick them up works on — a carry is for somebody hidden or on a fire scene. A victim is also a patient for NPC EMS once they can be reached, and is on the clock. Without it neither fire verb will touch them. |
patient = true | A patient who is not a carry: the overdose on the sidewalk, the pedestrian in the road. NPC EMS treats them, and they are on the clock. |
concealed = true | Hidden until somebody reaches them: the primary search on a fire, Check the area on any other call. Nobody treats or carries a person who has not been found. |
viability | The clock for a victim or patient. { minutes = 6 } is their own pace; { start = 0.1 } starts it part-run (0 to 1); false opts them out — a lost child who is simply lost. Absent, the owner’s Minutes an unreached victim lasts applies, and that setting at 0 turns every clock off, yours included. |
condition | How the clock starts, as a word, when viability.start is not given: 'not_breathing', 'unresponsive' or 'breathing' (the default). Somebody found in cardiac arrest is not breathing at second one. |
when_fact = 'x' | This person is only here when that fact rolled true. The reckless driver who is gone before you arrive is a role with a when_fact, and the role is simply absent — so not role.driver.spoken_to is true and nothing else anywhere needs to know. This is what makes an honest “nobody here” call possible. |
armed = true | They are visibly armed from the start. Different from a hidden <role>_armed fact, which is a gun nobody has found yet. |
facts | Which of the callout's facts are about this person. Declaring a name here also declares it as a fact, so a role's own facts need not be repeated in the top-level facts table — though giving them a chance there is usually what you want. |
questions | The conversation this person can have — see Conversations. Without one they can still be asked the defaults. |
story | Their account, in their own words: the first answer to What happened here? It should give nothing away by itself; the facts come after it, one per ask. |
tells | How they say each fact: { fact = 'line' }, or { fact = { yes = '...', no = '...' } } for a fact that may roll either way. A plain line is used only when the fact is true. Lines may carry %{name} and fact values. A fact the callout never declares is refused at load. |
dodges | What they say when they will not answer, in character. Only somebody with something to hide dodges. |
onId / onInterview / onSearch | Which verb uncovers which of those facts. Anything in facts that no list claims is found by a search, which is the sensible default: searching is the broad verb. |
disposition | The four numbers below, each 0 to 1. |
Who they are: the license the scene invents
Every role gets a full identity when the call opens — a name, date of birth, license number and class, address, physical description, and whether the license is valid. Four optional fields on the role steer it, and the callout's own facts do the rest:
sex = 'M' / 'F' | Picked at random when you leave it out. |
minAge / maxAge | Bounds on their age. A callout that rolls intoxicated gets a minimum of 21 for free. |
noLicense = true | They carry a state ID card rather than a driver's license. |
And from the facts: license_suspended or
license_expired rolling true puts that word on the card. Which is
the reason the identity is built at the start rather than at the counter
— a card invented when somebody asks would contradict the call.
The four dispositions
compliance | How likely they are to do as they are told. Drives whether an order is obeyed, whether they produce ID, whether they agree to a test. |
|---|---|
flight | How close they are to running. Crossing the line is what actually makes somebody run, and the line is a condition you write. |
violence | How close they are to fighting. |
honesty | Whether what they tell you is true. Honesty and compliance together decide whether they answer at all, which is why a frightened honest person still says nothing. |
They move. Talking to somebody takes flight down and compliance up a little each time. Refusing an order takes compliance down. A plate coming back stolen while they are still standing free takes flight up a lot. Those nudges are the verbs' doing; the consequences are yours:
-- Somebody who hears the plate come back stolen gets twitchy.
{ when = 'known.plate_stolen and not role.driver.detained',
then_ = 'disposition(driver, "flight", 0.45) + say("the driver is watching their mirrors")' },
-- The disposition crossing the line is what makes them run, so a crew who
-- talks calmly and covers the exits never sees this.
{ when = 'role.driver.disposition.flight > 0.62 and not role.driver.restrained',
then_ = 'flee(driver) + escalate(1) + say("the driver runs")' },
-- Two units on scene settles almost everything down.
{ when = 'scene.police > 1 and role.driver.spoken_to',
then_ = 'disposition(driver, "compliance", 0.15)' },
Write the starting numbers as a person, not as a difficulty setting. A
store clerk is compliance 0.95, honesty 0.95. A shoplifter caught
in the act is compliance 0.55, flight 0.30, honesty 0.35. A
homeowner whose house is on fire is compliance 0.8, honesty 0.95
and does not run anywhere.
Role flags
Flags are what a role accumulates, and they are what your conditions read
as role.<name>.<flag>. They are set by the verbs and
by the scene — and by a rule’s flag() action, which is
how a callout says somebody died (Actions):
| Flag | Set when |
|---|---|
spoken_to | Somebody talked to them, or took a statement. |
identified | They produced ID. |
searched | They were patted down or searched. |
detained | They were told they were detained, and accepted it. |
restrained | Cuffed. |
arrested | Cuffed; cleared again by uncuffing. |
transported | Taken away by a unit or by an NPC service. |
fled_scene | They ran and got away. A real ending. |
incapacitated | Tased, and on the ground until it wears off. |
escorted | Being walked somewhere by an officer. |
in_vehicle | Seated in the back of a unit. |
tested | A field sobriety or breath test was performed. |
deceased / pronounced | Dead; declared so by a medic or a firefighter. |
treated | They received any care. |
rescued | Removed from a hazard to the exterior. |
on_scene | Always true for an NPC. Present so a condition never has to ask what kind of occupant a role has. |
found | A responder reached them: a search, a rescue, or Check the area. |
patted / armed_found | Patted down; a pat-down or search turned up a weapon on them. |
checked | Somebody checked breathing and responsiveness. |
condition | A word, not yes or no: breathing, unresponsive or not_breathing. Unset until somebody has looked, so role.patient.condition == "breathing" is false until then. |
cpr_in_progress | Somebody is on the chest right now. |
refused_transport | Conscious, treated, and signed against medical advice. |
evacuated | Walked out of a hazard by a responder. |
Conversations: what a person can be asked
“I can't ask where until I know he needs a ride.” That sentence is the whole design. A conversation is not one verb that dumps every fact; it is a set of questions, and which ones can be asked right now depends on what is already known — which is exactly how a person on a shoulder would experience being asked them.
roles = {
driver = {
label = 'driver',
npc = { models = { 'a_m_y_business_01' } },
facts = { 'driver_name', 'license_suspended', 'driver_armed' },
questions = {
-- Replacing a default by using its id. Every person can be asked
-- "what happened here?"; this driver gets a better version.
{ id = 'what_happened', text = 'Do you know why I stopped you?',
says = "I honestly don't. Was I speeding?" },
{ id = 'license_ok', text = 'Is your license valid?',
says = "...it might be suspended. I've been meaning to sort it out.",
lie = "Yeah, it's fine.",
reveals = { 'license_suspended' } },
{ id = 'weapons', text = 'Anything in the car I should know about?',
says = "There's a pistol in the glovebox. It's mine.",
lie = "No. Nothing.",
reveals = { 'driver_armed' } },
-- Only askable once the answer to the last one is in. This is the
-- mechanic: the conversation opens up as it goes.
{ id = 'why_suspended', text = 'Why is it suspended?',
requires = 'known.license_suspended',
says = "Unpaid tickets. A lot of them." },
},
},
}
| Field | What it is |
|---|---|
id | Required. Give it the id of a default question and yours replaces that default for this person. |
text | Required. What the officer says. |
says | What they answer. Left out, the engine narrates whatever the answer revealed, so a callout with facts and no dialogue still produces a sentence rather than a key name. |
reveals | Which facts that answer gives away. Only facts that are real, hidden and not yet known count as something to be honest or dishonest about. |
lie | What they say when they are not being honest. Left out, they give a plain evasion. |
requires | A when expression, the same little language the rules use — so a question can hang off anything a rule can read. |
repeatable | Askable more than once. Default questions that are conversation rather than information use it. |
after | The id of another question: this one is a follow-up, offered once that one is answered. Follow-ups sharing a parent are one decision — asking one takes the others away. The glovebox choice is built this way. |
identifies | true: the answer puts their license in the officer’s hand and the person is identified, exactly as Ask for ID does. |
sees | Facts the officer sees in plain view when this is answered: sees = { 'carrying', 'contraband' } for a driver reaching into the glovebox. |
risk | The chance they run instead: risk = { flee = 0.1, more = { warrant_active = 0.25 }, says = '...' } — a base chance, extra chance for each fact that is true, and the line that describes it. |
Honesty, and why talking somebody down works
A question that would give something away is answered truthfully or not on that person's honesty and compliance. A lie reveals nothing — and it is not final: the question stays askable, so a unit who calms them down and asks again can get a different answer. That is the mechanic; the lines are just how it reads.
Which also means the four dispositions are the dialogue system. There is no persuasion skill and no dice roll to see: the officer who covered the exits and talked quietly gets answers, and the one who shouted gets evasions.
Every person can be asked the basics for free
| What happened here? | Their story first, when the role has one; then hands over the role's interview facts one at a time, each in its tells line, so a conversation has more than one beat. |
| Are you hurt? | Answered from <role>_injured and from a visible injury on a victim. |
| Did you see anything? | Answered from any fact of theirs named saw_..., ..._description or ..._witness. |
| Take a breath. Nobody is in trouble right now. | Pure de-escalation. Reveals nothing and moves the numbers that decide what the next question gets. |
| What’s your name? | Answered off their identity, so it matches the card. Reveals <role>_name where the callout declares it. Somebody with an incriminating fact that is true may give a false name. Left out where your own question already reveals that name. |
| Can I see some ID? | Ask for ID, said: the same compliance roll and, on a yes, the card in hand. Not offered once they are identified, or where your own question with identifies = true (or an id such as license or documents) already asks it. |
| Where do you live? / What’s a good phone number for you? | The address off the card, and a 555 number that stays the same for the whole call. |
So a callout with well-named facts and no questions block at
all still has a conversation. Write your own when the specific words matter,
which is most of the time for the person the call is about and almost never for
a bystander.
What the answers can say
says and lie may carry
%{some_fact} for a fact's value and %{name} or
%{first} for the person's own name off their license, so an answer
carries the number rather than describing it:
{ id = 'how_much', text = 'How much did they take?',
says = "About $%{stolen_value}. Maybe more.",
reveals = { 'stolen_value' } },
Questions are validated at load like everything else: a missing
id or text, a requires that does not
compile, or a reveals naming a fact the callout never declares is
refused by name. A question nobody can ever ask would otherwise be completely
invisible.
Conditions: the when language
A when is a string, parsed once when the file loads. The whole
grammar:
expr := or_expr
or_expr := and_expr ( 'or' and_expr )*
and_expr := unary ( 'and' unary )*
unary := 'not' unary | comparison
comparison := primary ( ( '==' | '~=' | '!=' | '<' | '<=' | '>' | '>=' ) primary )?
primary := '(' expr ')' | number | string | 'true' | 'false' | 'nil' | path
path := word ( '.' word )*
There is no arithmetic, no function call and no assignment. A bare path is
truthy-tested: fact.suspect_armed means “is it true”.
Only nil and false are false — 0 and the
empty string are true, deliberately, because
fact.stolen_value being 0 means the fact exists and is zero, and
a rule asking about it wants a comparison. Comparing to false
works the way it reads: fact.answered == false is true for a
fact that rolled false.
The eleven roots
| Root | Reads | Example |
|---|---|---|
fact | What is true, whether or not anybody knows. | fact.intoxicated |
known | The value, once the crew has discovered it. Nothing until then. | known.warrant_activeknown.bac > 0.08 |
checked | Whether it has been looked into at all, whatever the answer was. | checked.warrant_active |
role | A person: their flags and their dispositions. | role.suspect.restrainedrole.suspect.disposition.flight > 0.6 |
scene | The call itself. Fields below. | scene.police > 1 |
aux | An NPC service: requested, arrived, done. | aux.tow.arrived |
objective | An objective: open, done, failed. Always name one — a bare objective.knockdown is refused at load, because it is true the moment the objective opens. | objective.knockdown.done |
report | report.filed, and nothing else. | report.filed |
time | time.hour, the in-game clock: a weather-sync resource’s GlobalState.time when one is published, otherwise the hour your players’ clients report. | time.hour >= 22 |
weather | weather.type, as the game names it. A sync resource that publishes its weather as a table is read as the same word. | weather.type == "RAIN" |
tow | The tow work on the call’s vehicles. See Writing a tow callout. | tow.all_deliveredtow.dropped |
A root that is not one of those eleven is refused at load, which is how
facts.armed (plural, a typo) gets caught instead of silently
never being true.
Scene fields
scene.level | 0 at first, raised by escalate. |
scene.age | Seconds since the call opened. The clock you write timeouts against. |
scene.state | pending, active, staged, closing, closed, expired. |
scene.staged | True once somebody is close enough that the world exists. |
scene.units | How many units are attached and not cleared. |
scene.police / scene.fire / scene.ems | How many of each service. The condition for “a crew, not one officer”. |
scene.command | True once somebody has command. |
scene.fires_burning / scene.fires_total | Seats burning, seats in total. |
scene.outcome | The winning outcome id, once there is one. |
scene.victims and scene.patients are accepted by
the validator but are not populated in 0.0.x — they are
reserved for the patient model. A condition reading one of them is never
true. Count a victim with a role flag instead:
not role.occupant.rescued.
Writing rules that feel right
rules = {
-- Each rule fires ONCE per scene by default. That is almost always what
-- you want: an escalation should happen once, not every second.
{ when = 'known.suspect_armed',
then_ = 'escalate(2) + disposition(suspect, "violence", 0.3)' },
-- `repeatable` re-arms a rule, for something that should keep happening.
{ when = 'scene.fires_burning > 5 and not fact.vented',
then_ = 'say("heavy smoke pushing from the eaves -- it needs venting")',
repeatable = true,
note = 'nagging, on purpose' },
}
Rules are evaluated on the one-second scene tick and immediately whenever any fact, flag or objective changes — which is what makes a scene feel like it noticed. Four things worth knowing:
- A rule fires once unless it carries
repeatable = true. - Rules are evaluated in the order you wrote them, and the scene is re-read after each one fires, so a later rule sees what an earlier one did.
- Two rules that set each other's condition will not loop forever: the engine fires them one layer at a time, four layers deep per pass.
- A rule whose condition errors at runtime is disabled for that scene, named once in the console, and the scene carries on. A content bug never takes a call down with it.
note is yours: it is carried with the rule and shown in the
debug output, and is the right place to say why a threshold is
0.62.
Actions: the then_ list
One or more actions, joined with +:
then_ = 'reveal(suspect_armed) + escalate(2) + say("there is a gun")'
Arguments are literals — a number, a quoted string, or a bare
name — and never expressions. escalate(level + 1) is not a
sentence a callout should be writing; what escalate means is the
scene's business. (Write then_ with the underscore.
then is a reserved word in Lua; the engine accepts
['then'] too if you insist on it.)
| Action | Arguments | What it does |
|---|---|---|
reveal | a fact | Puts a hidden fact on the board for the whole crew. |
set | a fact, a value | Sets a fact. set(fatality, true). |
escalate | a number (optional) | Raises the scene level, which re-pages the call and may bring more units. |
deescalate | a number (optional) | Lowers it again. |
end_scene | an outcome id (optional) | Ends the call now, with that outcome. Use it sparingly: an outcome's own requires is the better way to close a scene. |
flee | a role | They run. |
comply | a role | They do as they are told. |
resist | a role | They physically resist. |
surrender | a role | Hands up, done running. |
wander | a role | Back to normal behavior, standing where they are. |
leave | a role | This person leaves: walks off out of the scene, or drives off if they are at the wheel. What “all right, I’m going” should be followed by. |
disposition | a role, a name, a number | Nudges one of the four by an amount, which may be negative: disposition(driver, "compliance", -0.2). |
offer_verb | a role, a verb id | Makes a verb available on that person. |
flag | a role, a flag, a value (optional) | Sets a role flag: flag(occupant, deceased), flag(driver, detained, false). A value that is a word is kept as a word, so flag(patient, condition, 'not_breathing') works; the words true and false mean the booleans. |
objective | an id, text (optional) | Opens an objective. The crew sees it in the panel. |
complete | an objective id | Marks it done. |
fail | an objective id | Marks it failed. |
page | a service | Pages a service to this call. For a scene that grows into something else. |
request_aux | ems, coroner, tow | Calls an NPC service, subject to its mode and the grace period. |
say | a string | A line in the scene panel. Plain words, no locale key needed — this is the one place a callout writes English directly, because a shared file cannot ship a locale entry. |
ignite | a seat group (optional) | Lights a group of fire seats. |
vent | — | Marks the structure vented, which slows spread. |
An action name that does not exist, a role or fact name that this callout does not declare, a number where a number belongs — all refused at load, with the list of real action names printed for comparison.
Outcomes: how a call closes
An outcome is a condition plus a verdict. The scene checks them every time anything changes; the first one satisfied closes the call and writes the report.
outcomes = {
driver_fled = {
order = 1, quality = 'poor', label = 'The driver got away',
requires = 'role.driver.fled_scene',
},
arrest_booked = {
order = 2, quality = 'good', label = 'Arrest made',
requires = 'role.driver.restrained and report.filed',
},
citation = {
order = 3, quality = 'acceptable', label = 'Cited and released',
requires = 'role.driver.identified and report.filed',
},
warning = {
order = 4, quality = 'acceptable', label = 'Verbal warning',
requires = 'role.driver.spoken_to and report.filed',
},
}
order | Write it. Lower wins when more than one outcome is satisfied at the same moment — and in that traffic stop, three of them usually are. Without an order, the winner depends on Lua's table ordering, which is not stable between runs. |
quality | good, acceptable or poor. It is how the report describes the evening, not a score: the report says what happened. |
label | The sentence the report leads with. Write it as a result, not as a status: Occupant out, fire knocked down. |
requires | A when expression, with the same roots and the same rules. |
Two habits worth copying from the shipped catalog:
- Let a call end with nothing found, and score it as done
properly. A reckless driver who is gone before anybody arrives, a
shots-fired that is unfounded, a fire alarm that is a malfunction —
these are
goodoutcomes, not failures. Scoring them as failures teaches players to invent a reason to act, which is the opposite of the point. Pair an unable to locate outcome with awhen_factrole and the person genuinely is not there:
A unit who drove the stretch, looked, found nothing and cleared it did the job exactly right.facts = { still_here = { chance = 0.55 }, -- 45% of the time it is gone }, roles = { driver = { when_fact = 'still_here', label = 'driver', npc = { ... } }, }, outcomes = { unable_to_locate = { order = 1, quality = 'good', label = 'Unable to locate', requires = 'not fact.still_here and report.filed', }, -- ... and the endings for when it IS there } - Order them from worst to best, or from most specific to most general. “They got away” has to beat “cited and released”, or a call where somebody ran closes as a routine citation because the report happened to be filed.
- Give every ending a way to happen. A callout with one
outcome ends the same way every time and the validator warns about it. Two
or three acceptable endings is what makes a call worth running twice. And
make sure each one can happen:
python tools/validate.pyfails the run on an outcome that can never be reached — one that needs a fact nothing sets, or an objective nothing opens.
Locations
Twelve sets ship, and a callout usually just names one:
| Set | Points | What it is for |
|---|---|---|
retail | 6 | Stores and businesses — shoplifting, robberies, disturbances. |
roadway | 6 | Surface streets with a shoulder, on purpose: a traffic stop in an intersection is a scene where nobody can park and the tow cannot work. |
highway | 8 | The freeway calls, where closing a lane is a real objective. Separate from roadway deliberately: a crash with entrapment belongs where traffic is doing eighty, and nothing here sits in a gore point. |
residential | 5 | Houses, a trailer and an apartment — structure fires, disturbances, welfare checks. |
apartment | 8 | Multi-unit buildings — noise, disputes, welfare checks, a fire with neighbors either side. |
commercial | 8 | Alarms, trespass, cold reports and the big fire. Big park arrays: a commercial fire parks four apparatus. |
industrial | 8 | Separate from commercial because the hazards differ in kind: a strip-mall fire is a building, and a fire at a tank farm is a building plus whatever is stored next to it. A callout that does not care names both. |
nightlife | 8 | The 2am calls — assaults, disorderly subjects, noise. Points are outside the door, which is both where the fight usually is and where an ambulance can reach it. |
gasstation | 6 | Robbery alarms, spills, a vehicle fire under a canopy. Its own set rather than part of retail, because the canopy is a hazard. |
parking | 8 | Vehicle burglary, abandoned vehicles, lot disputes. |
openground | 5 | Brush, lots and alleys — dumpster and vehicle fires, public assists. Every one within sight of a road, because a fire a crew cannot park near is a fire nobody fights. |
wildland | 8 | Brush fires, and nothing else. Chosen for engine access above everything: every point is within fifty meters of a road a brush truck can actually drive. |
A callout can pool several sets, which is usually the right answer for a call that happens in more than one kind of place:
locations = { 'apartment', 'residential' },
Registering your own
A file anywhere under locations/, globbed exactly like
scenarios/:
Locations.Register('docks', {
{
coords = { x = 1275.4, y = -1710.6, z = 54.8 },
heading = 190.0, -- where a responder faces on arrival
label = 'the warehouse on Miriam', -- what dispatch calls the place
interior = false, -- the scene is inside a building
tags = { 'industrial', 'city' },
-- Where an NPC unit appears, out of sight, 150-250 m out. It then
-- drives only this one leg.
approach = { x = 1130.2, y = -1580.4, z = 35.0, h = 200.0 },
-- Curb slots, in preference order. An NPC unit parks here and walks
-- the last twenty meters.
park = { { x = 1262.8, y = -1724.2, z = 54.6, h = 10.0 } },
},
})
Only coords is required; everything else makes the scene
tidier. Writing a park slot is five seconds of work that removes most
NPC pathfinding trouble before it can start, and the validator warns
you about a callout that asks for a tow truck while its location set has
points with nowhere to park.
You do not have to type any of those numbers. Stand where the scene should
be, face the way a responder should face, and run /psspoint the
warehouse on Miriam — it prints that whole table, with a curb slot,
to the F8 console. /psspoint approach and /psspoint
hydrant print one line each from where you are standing. And once a set
is in the catalog, /pssadmin will walk you through its points and
let you move the ones that are wrong. See
Checking and fixing locations.
A callout can also carry its own list inline, in the same shape, which is right for a one-off tied to a specific building:
locations = {
{ coords = { x = 1275.4, y = -1710.6, z = 54.8 }, heading = 190.0,
label = 'the warehouse on Miriam' },
}
Points cool down for fifteen minutes after being used, so a set with eight points is eight different evenings rather than the same driveway twice.
Writing a fire callout
Add a fire block. Everything else about the callout is the
same.
fire = {
seats = 8, -- how many burning spots. The cap is 24.
lit = 3, -- how many are already burning when the crew arrives
spread = 6.0, -- how far apart the seats are laid out, in meters
intensity = 1.2, -- above 1.0: each seat takes longer to knock down
group = 'interior', -- a name `ignite()` and your rules can refer to
search = true, -- open the primary-search objective with the call
}
Two objectives are opened for you: knock down the fire
unless you set knockdown = false, and primary
search unless you set search = false.
objective.knockdown.done is therefore the condition most fire
outcomes are written against.
Two more fields decide how the fire ends when nobody fights it:
fire = {
seats = 2,
burnout = 900, -- seconds at intensity 1.0 before a seat has nothing left.
-- false: it never burns out, so it has to be fought.
-- Left out: the owner's setting, four times longer for
-- a fire with a primary search (a building).
knockdown = false, -- no "knock down the fire" objective: a fire that is
-- not the crew's to put out, like a transformer on a
-- pole. It still burns, spreads and burns out.
}
A fire that burns out entirely with no water on it fails the knockdown
objective and sets fact.fire_burned_out, which is how a
callout grades “let it burn out” as the poor ending it is.
When the callout knows the building, place the seats by hand instead and the fire is laid out in the rooms you meant:
fire = {
seats = 4,
offsets = {
{ x = 0.0, y = 0.0, z = 0.0, group = 'kitchen', intensity = 1.4 },
{ x = 2.5, y = 1.0, z = 0.0, group = 'kitchen' },
{ x = -3.0, y = 2.0, z = 0.0, group = 'hallway' },
{ x = -3.0, y = 6.0, z = 3.0, group = 'upstairs' },
},
}
Three things to get right:
- List
fireas a service. A callout with a fire block that does not page the fire department is a building burning down with nobody told about it, and the validator warns about exactly that. - Let it spread. A fire that cannot grow is a prop. The engine spreads it for you; your job is to give it enough seats to spread into, and a rule that warns the crew first.
- Do not make the ending depend on medical care. This
build models NPC patients only. A victim who is removed to the exterior is
rescued, the objective completes, and the NPC ambulance handles the rest.
Write the outcome against
role.occupant.rescued.
Writing a tow callout
A tow call is service = 'towing'
and is mostly its vehicles and where they go. The tow operator’s work
— winch, upright, hook, chain, unhook, drop — is built in; you never
write it, you read what it did. The fourteen in scenarios/towing/
are the examples to copy, and the portal’s call
builder writes the same thing with clicks.
A vehicle by size
vehicles = {
{ class = 'small', -- small | medium | large | heavy
at = { ahead = -2.8, right = 2.8, turn = 345.0 },
tow = {
stuck = 'ditch', -- 'ditch' | 'mud' | 'wedged' | 'embankment'
rolled = nil, -- 'side' | 'roof'
deliver = { { to = 'shop', when = 'fact.owner_wants_shop' }, 'impound' },
flatbed_only = false, -- exotics and motorcycles: true
} },
{ model = 'police', tow = false, at = { ahead = -12.0 } }, -- not a load
}
class picks a model from the server’s own Towing page, so a
community’s vehicle pack turns up. Give model as well only
when the call is about one kind of vehicle (an exotic, a motorcycle, a bus), and
keep class so the truck check knows its size. deliver
is a yard kind (impound, shop, scrap,
dealer) or a list tried in order. tow = false keeps a
vehicle out of the work; every other vehicle on the call is a load.
Any part of a call can say
at_spot = 'wreck' to be placed at the place’s
wreck spot, with at measured from
that spot instead of the location point. Put needs = { 'spot:wreck' }
on the call so it opens only where the spot is marked, and use
stuck = 'embankment' for a vehicle that is winched up a bank.
scenarios/towing/bridge_rollover.lua is the example.
What a condition can read
tow.loads | How many vehicles are loads. |
tow.winched / tow.upright | A load has been winched out / set back on its wheels. |
tow.hooked / tow.secured | A load has been hooked up / chained down. Stays true. |
tow.on_truck | How many loads are on a truck right now. |
tow.delivered / tow.all_delivered | How many are at their yard / all of them. |
tow.dropped | A load came off a truck it was never chained to. |
scene.towing_on | Tow operators on scene. |
Endings
A call that ends at the yard is good on tow.all_delivered
(dropping the last load files the report, so report.filed is true
by then). A call that ends at the scene — winched out and the driver
drives off, released for the drop fee (name that fact
drop_fee_paid and the disposition is suggested) — requires
report.filed. Put a lost-load ending
(tow.dropped and tow.all_delivered, poor) and the other bad ones
before the good ones, and always end with a lazy fallback: order 90, poor,
report.filed. Do not list tow under aux on a
tow call: the player is the tow.
Asking for an NPC service
Declare what the callout may ask for, then ask:
aux = { 'ems', 'coroner', 'tow' },
rules = {
{ when = 'fact.victim_found',
then_ = 'page(ems) + request_aux(ems)' },
{ when = 'fact.fatality',
then_ = 'request_aux(coroner)' },
}
Note that rule asking for both: page(ems)
tells every real medic on duty, and request_aux(ems) arranges the
NPC ambulance. That is not belt and suspenders — the NPC service only comes
when nobody is covering the job, and a medic who attaches while the NPC
ambulance is still driving turns it around. Writing both means the call closes
whether or not anybody is playing EMS tonight, which is the entire reason the
NPC services exist.
Five ship:
ems | Treats every role marked patient or victim once they can be reached (not pinned, not still hidden): transports somebody breathing or unresponsive, pronounces somebody not breathing and calls the coroner. |
coroner | The medical examiner, for a body. |
tow | The flatbed. Needs a curb slot at the location, and the validator warns when the set has points without one. |
transport | The prisoner van, for somebody cuffed whose arresting officer would rather keep working than drive to jail. Sets prisoners_transported. |
taxi | A cab for the people who are not under arrest. Ask for one in any callout that ends with somebody standing in the road — a towed motorist, a sober passenger, a witness who has given a statement. |
animal, mutualaid and roadcrew are
named but ship off: asking for one validates with a warning and is
refused at runtime, so a callout written today against a service that is coming
later still loads and still works.
Whether a request produces anything is the server owner's setting, not yours: each service is on request, when nobody is available, always, or never. Write the callout so it closes either way.
A finished unit stays readable. aux.ems.done,
aux.tow.arrived and the rest stay true after the unit has left,
so an outcome written against them is scored for the work that was done.
Worked example: a two-role police call
Two people, two very different jobs. The clerk has information; the suspect
has a story. A unit who talks to the clerk first finds out it was a shove
rather than a grab, which changes what the whole call is. This is
scenarios/police/retail_theft.lua, shortened here — the real
file has a few more rules and its outcomes written out.
Scenario.Register({
id = 'retail_theft',
title = 'Shoplifter in custody',
service = 'police',
priority = 3,
weight = 28,
units = { min = 1, ideal = 2 },
locations = 'retail',
roles = {
suspect = {
label = 'suspect',
npc = { models = { 'a_m_y_methhead_01', 'a_f_y_hipster_02', 'a_m_y_downtown_01' } },
offset = { x = 1.2, y = 1.0, z = 0.0 },
facts = { 'suspect_name', 'warrant_active', 'suspect_armed', 'contraband_pills' },
onId = { 'warrant_active' },
onInterview = { 'suspect_name' },
onSearch = { 'suspect_armed', 'contraband_pills' },
disposition = { compliance = 0.55, flight = 0.3, violence = 0.05, honesty = 0.35 },
},
clerk = {
label = 'store clerk',
npc = { models = { 'mp_m_shopkeep_01', 'a_f_m_soucent_01' } },
offset = { x = -1.4, y = 1.2, z = 0.0 },
-- The clerk knows what happened and will say so: high honesty, and
-- their facts come out in an interview rather than a search.
facts = { 'stolen_value', 'has_camera_footage', 'suspect_was_violent' },
onInterview = { 'stolen_value', 'has_camera_footage', 'suspect_was_violent' },
disposition = { compliance = 0.95, flight = 0.0, violence = 0.0, honesty = 0.95 },
},
},
facts = {
suspect_name = true,
stolen_value = { roll = { 15, 420 } },
has_camera_footage = { chance = 0.7, hidden = true },
suspect_was_violent = { chance = 0.15, hidden = true },
warrant_active = { chance = 0.18, hidden = true },
suspect_armed = { chance = 0.07, hidden = true },
contraband_pills = { chance = 0.15, hidden = true },
},
rules = {
{ when = 'known.suspect_was_violent',
then_ = 'escalate(1) + disposition(suspect, "violence", 0.25) + say("the clerk says they were shoved")' },
{ when = 'known.suspect_armed',
then_ = 'escalate(2) + disposition(suspect, "violence", 0.3)' },
},
outcomes = { ... },
})
What to take from it
- Two roles, two revelation paths. The clerk's facts are
all
onInterview; the suspect's are split acrossonId,onInterviewandonSearch. Same fact board, and which verb you reach for decides what you learn. - The dispositions carry the characterization. Nothing in this file says “the clerk is helpful”. Compliance 0.95 and honesty 0.95 says it, and says it in a way the engine can act on.
- A roll, not a coin flip.
stolen_valueis a number between 15 and 420, which makes the same callout a misdemeanor one night and something else the next, with no extra rules. - Rules on
known., notfact.. The suspect does not get twitchy because they were violent; they get twitchy because the officer found out. - A fact nobody ever finds is a real result. Seven percent of the time there is a gun, and a crew who never searches never knows. The report tells them afterward that it was there, which is the most educational line the resource prints.
Worked example: a multi-service fire
The deep end, and the callout the engine was built to prove: it pages two
services, carries a victim, spreads if it is ignored, and can end five
different ways depending on what the crew actually does. This is
scenarios/fire/structure_fire.lua.
Scenario.Register({
id = 'structure_fire',
title = 'Structure fire',
service = { 'fire', 'police' }, -- fire works it, police holds the street
priority = 1,
weight = 16,
units = { min = 1, ideal = 4 },
locations = 'residential',
fire = {
seats = 8,
lit = 3,
spread = 6.0,
intensity = 1.2,
group = 'interior',
search = true,
},
roles = {
caller = {
label = 'the homeowner',
npc = { models = { 'a_f_m_soucent_02', 'a_m_m_soucent_01' } },
offset = { x = -7.0, y = -5.0, z = 0.0 }, -- out front, where they would be
facts = { 'caller_name', 'occupants_unaccounted', 'structure_occupied', 'pets_inside' },
onInterview = { 'caller_name', 'occupants_unaccounted', 'structure_occupied', 'pets_inside' },
disposition = { compliance = 0.8, flight = 0.1, violence = 0.0, honesty = 0.95 },
},
occupant = {
label = 'occupant',
victim = true, -- what the primary search looks for
npc = { models = { 'a_m_y_genstreet_01', 'a_f_y_genhot_01' } },
offset = { x = 2.0, y = 3.0, z = 0.0 },
idle = 'victim',
facts = { 'occupant_found' },
disposition = { compliance = 0.9, flight = 0.0, violence = 0.0, honesty = 0.9 },
},
},
facts = {
caller_name = true,
-- The fact the whole call turns on, and it is HIDDEN: nobody tells you
-- there is somebody inside. You have to ask the person standing in the
-- front yard, which is the thing crews forget to do.
occupants_unaccounted = { chance = 0.65, hidden = true },
structure_occupied = true,
pets_inside = { chance = 0.3, hidden = true },
-- Declared false so the rules and outcomes below may read them. The
-- verbs set them.
occupant_found = false,
primary_search_done = false,
interior_unsafe = false,
vented = false,
entry_made = false,
sized_up = false,
victim_found = false,
fatality = false,
body_removed = false,
},
rules = {
-- Ask the homeowner and the search becomes urgent. The single most
-- important rule in the catalog: information changes the job.
{ when = 'known.occupants_unaccounted',
then_ = 'escalate(1) + objective("primary_search", "Somebody is unaccounted for -- search it") + say("the homeowner says somebody is still inside")' },
-- A size-up before anybody commits is what a good crew does, and the
-- scene notices.
{ when = 'fact.sized_up and scene.fire > 1',
then_ = 'say("good size-up, and a crew to work it")' },
-- Left to burn, it takes the building. The crew is warned first.
{ when = 'scene.fires_burning > 5 and not fact.vented',
then_ = 'say("heavy smoke pushing from the eaves -- it needs venting")' },
{ when = 'fact.interior_unsafe and not fact.vented',
then_ = 'escalate(1) + say("conditions inside are deteriorating")' },
-- Found somebody. Page EMS whether or not any medics are on.
{ when = 'fact.victim_found',
then_ = 'page(ems) + request_aux(ems)' },
-- Nobody went in, and the fire took the room they were in. On fact.,
-- not known.: the person dies whether or not anybody asked. flag()
-- is what gives the medical examiner somebody to remove.
{ when = 'fact.occupants_unaccounted and scene.age > 540 and not role.occupant.rescued',
then_ = 'set(fatality, true) + flag(occupant, deceased) + request_aux(coroner) + say("it has been too long")' },
-- Police on scene get something to do that is actually their job.
{ when = 'scene.police > 0',
then_ = 'objective("traffic", "Keep the street clear for apparatus")' },
},
outcomes = {
rescue_and_knockdown = {
order = 1, quality = 'good', label = 'Occupant out, fire knocked down',
requires = 'role.occupant.rescued and objective.knockdown.done',
},
rescue_made = {
order = 2, quality = 'good', label = 'Occupant removed',
requires = 'role.occupant.rescued and report.filed',
},
fatality_recovered = {
order = 3, quality = 'poor', label = 'Fatality',
requires = 'fact.fatality and fact.body_removed',
},
knockdown_no_search = {
order = 4, quality = 'acceptable', label = 'Fire out, nobody searched',
requires = 'objective.knockdown.done and not fact.primary_search_done',
},
knocked_down = {
order = 5, quality = 'acceptable', label = 'Fire knocked down',
requires = 'objective.knockdown.done',
},
},
aux = { 'ems', 'coroner' },
})
What to take from it
- The hidden fact is the whole call. Two thirds of the time somebody is inside, and the only way to find out is to talk to the homeowner standing in the front yard. A crew who goes straight to the fire puts it out, closes with Fire out, nobody searched, and reads in the report that there was a person in the back bedroom. Nobody forgets the second one.
- Two services, each with real work. Fire fights it; police get a traffic objective the moment one of them shows up. Neither is standing around watching the other.
- A clock, used once.
scene.age > 540is the only timer in the file, and it exists so that ignoring the call has a consequence rather than so that the call has a script. - Five outcomes, strictly ordered. A rescue beats a knockdown; a fatality beats a tidy knockdown; “fire out, nobody searched” is called what it is. The order is what makes the report honest when three of them are true at once.
- The facts the verbs own are declared
false.sized_up,vented,victim_foundand the rest are set by the fire verbs — but a rule may not read an undeclared fact, so they are listed. This is the step people miss and the validator catches. - Nothing in it depends on a drive succeeding. The ambulance is requested, not required. If it cannot get there, the call still closes and the report still says what happened.
Checking your work
From a terminal, in a second
python tools/validate.py # load everything, report, non-zero on a refusal
python tools/validate.py --quiet # only problems
python tools/validate.py --twice # prove a double load is harmless
This is not a second implementation that might disagree with the server: it
loads shared/expr.lua and server/registry.lua
unmodified and runs the server's own validator against the
same files in the same order. A callout that passes here passes in game. It
needs lupa (pip install lupa); everything FiveM
provides is stubbed.
It also asks a question the server does not: can each ending actually happen? An outcome that can never be reached, or an objective nothing opens, fails the run; a hidden fact that is rolled and then never read, revealed or depended on is a warning.
From the server console
The boot report names what loaded, where it came from, and what it refused. The second line is the one that answers “did it see my file?” without anybody turning debug on:
[sals_kewlpss] catalog: 51 scenarios, 12 location sets (84 points)
[sals_kewlpss] loaded from: scenarios/ 51
And a refusal is loud, by name, with the file and the reason — while the rest of the catalog still loads:
scenario "my_callout" in scenarios/police/mine.lua:9 was REFUSED and is not loaded:
- rule 2 `when` reads "fact.armed", but this scenario never declares a fact
called "armed". An undeclared fact is never true, so this condition would
never fire.
/pssdiag prints the same information in game, including every
refusal and why. /pssadmin lists the catalog with each callout's
file, rule count and outcome count.
A file that does not appear at all, with no refusal, did not load as Lua — a missing comma or an unclosed brace. That error prints further up the console, before anything of ours runs, because a file that fails to parse never reaches us to be refused.
Testing the behavior, not just the shape
/pssadminopens a specific callout on demand, so you are not waiting on the Director./pssdebug scenesshows the live fact board, every role's flags and dispositions, which rules have fired, and the fire seats with their water./pssdebug verbsshows what was refused and why, which is the fastest way to find a verb gated behind something you forgot.- Raise a
chanceto1.0while you are testing the branch it guards. Nothing is more tedious than re-running a callout nine times to see the one-in-ten path.
Exports, for tooling of your own
-- Validate a table before you write it to a file. Returns ok, errors, warnings.
local ok, errs, warns = exports['sals_kewlpublicsafetysimulator']:ValidateScenario(spec)
-- The catalog as loaded, and the action catalog with its help text.
local catalog = exports['sals_kewlpublicsafetysimulator']:GetScenarios()
local actions = exports['sals_kewlpublicsafetysimulator']:GetActionCatalog()
The validator is pure — it reads the location sets and the action catalog and changes nothing — which is what makes it safe to run against a file somebody just downloaded, or against the output of a generator, before anybody is told it worked.
Overriding one of ours, and sharing
Change one of ours without losing it at the next update
Copy the file, keep the id, change what you like:
scenarios/police/dui.lua <- ours, replaced on every update
scenarios/police/dui-mine.lua <- yours, same id, wins
A later registration of the same id replaces the earlier one, and the boot log says so:
scenario "dui" replaced by scenarios/police/dui-mine.lua:9 (it was
scenarios/police/dui.lua). The later registration wins -- this is how you
override one of ours.
Editing our file directly works too, and is lost the next time you take an update, because that file has our name on it and the download carries it.
Turning one of ours off
Delete the file, or set its weight somewhere it will never come up by
re-registering the id with weight = 0.01. (Zero is refused: a
callout that can never be chosen is more likely to be a mistake than an
intention.)
Sharing a callout
Post the file. That is the whole procedure, and it is why callouts are data: a file from a stranger is a table and a handful of expressions, it cannot run code, and if it is malformed the server that loads it says so by name instead of breaking.
Three courtesies for a file you intend other people to use:
- Put
authorandversionin the table. They show up in the catalog listing. - Use a shipped location set, or ship your set in the same file. A callout naming a set nobody else has is refused on their server.
- Write a comment block at the top saying what the call is and what makes it move. Everybody reading it will be reading it to learn how to write their own.
Reference tables
Services, priorities, qualities
| Service | police, fire, ems, dot, security, ranger, marine, animal_control, towing, or a service of your own. A call may say covered_by = 'police': while its own service has nobody on, it opens for the covering service with its own still on it. The shipped DOT calls use it only for a stuck or disabled vehicle. |
|---|---|
| Priority | 1 emergency · 2 urgent · 3 routine · 4 public assist |
| Quality | good, acceptable, poor |
| NPC services | Shipped: ems, coroner, tow, transport (the prisoner van), taxi, mutualaid (the engine company), backup (police). Named but off in this build: animal, roadcrew. |
| Unit status | En Route · On Scene · Clear |
| Scene state | pending · active · staged · closing · closed · expired |
What each verb sets
| Verb | Service | Sets or reveals | Needs first |
|---|---|---|---|
| (a question) | police | spoken_to; reveals what that answer gives away, or lies about it | whatever the question's requires says |
| ask_id | police | identified; reveals <role>_name with the name on it, and files the license in the case file | their compliance |
| run_person | police | reveals onId facts; files the license in the case file | identified |
| run_plate | police | reveals plate_stolen, vehicle_unregistered, vehicle_wanted | — |
| search_person | police | searched; reveals onSearch facts | detained, cuffed, arrested or down |
| search_vehicle | police | vehicle_searched; reveals vehicle_* and contraband facts | — |
| fst_hgn | police | scores the eye test | spoken_to, not restrained, and they agree |
| fst_walk | police | scores walk and turn | the eye test |
| fst_balance | police | scores the one-leg stand, and on the third test sets tested and reveals intoxicated | walk and turn |
| breath_test | police | tested; reveals bac, intoxicated. A refusal sets breath_refused | a breathalyzer, if your inventory has one; their agreement unless in custody |
| detain / hands_up / release | police | detained, or a refusal | an answer from them |
| hands_on | police | an order, rolled: they comply, pull away or fight | spoken_to or detained; within arm’s reach |
| cite | police | citation_issued | identified |
| warn | police | warning_given | spoken_to |
| cuff | police | restrained, arrested | detained |
| uncuff | police | clears both | restrained |
| escort | police | escorted | detained, restrained, or a victim; not already in a unit |
| release_hold | police | clears escorted | escorted |
| put_in_vehicle | police | in_vehicle; clears escorted | restrained, and you standing at a vehicle that is not one of the call’s own |
| out_of_vehicle | police | clears in_vehicle | in_vehicle |
| transport | police | transported | restrained and in_vehicle; the officer driving, with them aboard, TransportDistance from the scene |
| statement | police | statement_taken | spoken_to |
| photograph | police, DOT | scene_photographed | — |
| seize | police | property_seized | searched |
| make_entry | police | entry_made | a call that declares entry_made; not a fire |
| request_backup | any | re-pages your own service | once a minute; not a private street stop |
| found | any | found, rescued, <role>_found, victim_found; pages EMS once if they are hurt | no fire; a hidden victim within a few meters |
| check_patient | any | checked, <role>_checked, <role>_condition | a patient or victim |
| cpr | any | cpr_in_progress, treated, cpr_started, <role>_cpr; completes a cpr objective; holds the clock | not breathing (or not yet checked); nobody else on the chest |
| aed | any | aed_applied; pulse_back on a shockable rhythm | compressions started; EMS or fire, or aed_on_site / aed_fetched |
| establish_zone | fire, police, DOT | zone_established; completes zone | a zone objective open |
| evacuate | any | evacuated on each person; building_cleared and completes evacuate once nobody is left inside | an evacuate objective open |
| shut_off_utilities | fire | shut_off; sets gas_on false; completes shutoff | a shutoff objective open, or gas_on; within 40 m |
| file_report | any | report.filed | while anything burns, only the call’s lead service |
| size_up | fire | sized_up; reveals structure_*, occupants_unaccounted | nobody has given one yet |
| force_entry | fire | entry_made | — |
| search_primary | fire | primary_search_done, victim_found, <role>_found; opens a removal objective; pages EMS | a tenable interior, or a vent |
| vent | fire | vented | — |
| rescue | fire | rescued | a victim hidden in the building or on a fire scene, found, and not pinned |
| traffic_control | any | traffic_controlled | a roadway to control |
| work | any (a task’s service can narrow it) | the task’s fact (true and known); completes its objective; swaps its prop for done_model. Takes the task’s own seconds | standing at a task whose when holds; its requires (else its refuse line) |
| mark_deceased | fire, EMS | deceased, pronounced, fatality; calls the coroner | a body: down, dead, not breathing, or a hurt victim |
A callout skeleton to copy
Scenario.Register({
id = '', title = '', service = 'police',
priority = 3, weight = 20, units = { min = 1, ideal = 2 },
tags = { }, locations = 'roadway',
as_reported = { '' },
roles = {
someone = {
label = '', npc = { models = { '' } },
offset = { x = 0.0, y = 0.0, z = 0.0 },
facts = { }, onId = { }, onInterview = { }, onSearch = { },
disposition = { compliance = 0.7, flight = 0.1, violence = 0.02, honesty = 0.6 },
},
},
facts = { },
rules = { { when = '', then_ = '' } },
outcomes = { done = { order = 1, quality = 'acceptable', label = '', requires = '' } },
})
Support
Discord: discord.gg/CVWZb6AEwy
Documentation: salskewlkorner.com/documentation/
When reporting a problem, paste the output of /pssdiag. It
answers most questions on its own: what was detected, what the catalog loaded,
what it refused and why, what you have changed from the defaults, and what the
resource has actually done.
If you write a callout you are pleased with, post it. A good one teaches more about this resource than this manual does.
Didn’t find it? Ask Squawky, or open a ticket on Discord and tell us what you already tried.