Skip to content

PoliceCarCapExceedRequestPayload

What policeCarCapExceedRequest gets: the payload a handler receives.

Renamed in 0.28 from PoliceCarCapPayload; see renamed names.

type PoliceCarCapExceedRequestPayload = {
player: PlayerSnapshot; unit: DispatchUnitProposal; currentCarCount: number; carCap: number; sharedWantedPlayerCount: number;
};
Field Type Description
player PlayerSnapshot The wanted player whose game would send it.
unit DispatchUnitProposal The car and its crew.
currentCarCount number How many police cars chase these players now.
carCap number The game’s limit.
sharedWantedPlayerCount number How many other wanted players share this count.