Skip to content

PoliceUnitDispatchRequestPayload

What policeUnitDispatchRequest gets: the payload a handler receives.

Renamed in 0.28 from PoliceDispatchPayload; see renamed names.

type PoliceUnitDispatchRequestPayload = {
player: PlayerSnapshot; unit: DispatchUnitProposal; wantedLevel: number;
};
Field Type Description
player PlayerSnapshot The wanted player whose game sends the unit.
unit DispatchUnitProposal The vehicle or ped and its crew.
wantedLevel number The player’s wanted level, 1-6.