The resource registers no chat commands. Shifts start and end at the depot ped, and police use ox_target options on vehicles. With Config.addRadialOption = true, an End Towing Job item is added to the ox_lib radial menu during a shift.
Nothing. Marks the plate as important for Config.importantVehicleMinutes.
removeImportantVehicle(plate)
Nothing.
IsVehicleImpounded(plate)
true while the plate has an open record (impounded, seized or releasing).
ReleaseVehicle(src, plate, asPolice)
ok, messageKey. The key is a locale key such as release_done, release_not_owner, release_not_expired, release_no_money, release_rank or release_db_failed. The export sends no notification.
false if the form is already open. cb gets the form values, or nil when the officer cancels.
OpenImpoundFormAwait(prefill)
The form values, or nil.
IsImpoundFormOpen()
true while the form is open.
prefill takes officerName, officerRank, badge, plate, model, colour, owner, location, vehiclePrice, tierRates, canEditFee, lockedFields, and optionally agency, logo and formNumber (they default to Config.Form). The result has tier, days, hours, fee, caseId, reason, approvalMethod (self_approved, approved_verbally or approved_electronically) and approvedBy.
The towing:* lib.callbacks and towing:server:* net events belong to the resource's own client. Each one checks duty, distance, job stage and a throttle on the server. They are not an integration API, so use the exports above.
One row per criminal impound: model, plate, owner citizenid, fee, expiry, issuing and approving officer, reason, case ID and status (impounded, releasing or released).
player_vehicles (Qbox)
Read for ownership. Impounds set state = 2 with body, engine and fuel. Releases and courtesy impounds set state = 1.