FivePD API
Interfaces/TrafficStopInterfaces

ITrafficStopService

Represents a service for managing traffic stops.

Methods

GenerateTrafficStop

Generates a traffic stop.

Parameters

NameTypeDescription
unitUnitThe to assign to the traffic stop.
vehicleFVehicleThe to assign to the traffic stop.

Returns

NameType
TrafficStopThe generated .

AssignUnitToTrafficStop

Assigns a Unit to a TrafficStop.

Parameters

NameTypeDescription
unitUnitThe to assign.
trafficStopTrafficStopThe to assign the to.

Returns

NameType
boolWhether the was assigned to the .