Kartik Scripts

Warrants & Orders

Warrants

Prosecutors (warrantRequest) request search, arrest and bench warrants from Warrants in the tablet. A judge (warrantSign) signs or denies them. Signed warrants go into the MDT and on-duty police are told. A request can be withdrawn before it is signed.

Court orders

Judges issue restraining, protective and court orders from Warrants → Orders. They show on the citizen's MDT profile, police are told, and other resources read them with the GetActiveOrders export.

Licence orders

A judge can suspend a weapon or driver licence for a number of days, or revoke it until a judge lifts it, from the Orders panel or in the verdict.

  • Works for offline citizens.
  • While it runs, the licence is taken again at every login and the kiosk refuses to issue it.
  • When it ends or is lifted, the citizen gets back the licences they held.

Licence types are set in Config.Licences (QBCore / Qbox metadata keys and ESX license types).

Documents

Documents in the tablet: write documents from templates (subpoena, summons, court order and more), sign them, notarize them and print them at a courthouse printer. Printed documents are court_document items: using one shows the paper, and it can be shown to players nearby.

Templates are edited in game (Documents → Templates, templates permission, or /dojadmin → Templates). The defaults are in shared/config/documents.lua.

On this page