Tow and Impound
Display pending and assigned tow requests with vehicle details, then accept or complete each request from the CAD.
This example connects an existing tow or impound resource to CAD. Requests created by an officer or another in-game system appear with the vehicle, plate, location, requester, and status. A dispatcher can accept or complete a request in CAD, and the resource applies that workflow change for in-game tow operators.

How It Connects
Install or update the panel definition when the resource is configured.
On resource start, publish every pending and assigned request plus the current summary.
Publish again when an in-game request is created, assigned, cancelled, or completed.
Poll for
tow.acceptandtow.completeactions. Apply them through the tow resource, acknowledge them, then publish the updated request list.
Game-Side Outline
The following is server-side pseudocode. Adapt the events and function names to your tow resource and preferred API library.
See Set State, Poll Actions, and Acknowledge Action for copyable calls in every supported library.
Actions
tow.accept
Assign the selected request.
tow.complete
Mark an assigned request complete.
Definition JSON
Example State
Last updated
Was this helpful?

