Skip to content

crimeReportForwardRequest

In GTA:SA a crime is reported by its victim or a witness. When that witness runs in another player’s game, the server forwards the report to the offender’s game, where it can raise their wanted level. This decision asks your gamemode first.

Renamed in 0.28 from crimeRequest; see renamed names.

server.on("crimeReportForwardRequest", ({ reporter, offender, crimeType, position, minimumWantedLevel }) =>
boolean | void | Promise<boolean | void>)
Name Type Description
reporter PlayerSnapshot The player whose game saw the crime.
offender PlayerSnapshot The player who did it.
reportingEntityNetworkId number The network ID of the victim or witness. It is not necessarily the reporter’s own ped.
offenderPedNetworkId number The network ID of the offender’s ped.
crimeType number GTA:SA’s crime type, 0-22.
position Vector3 Where it happened.
registerImmediately boolean The game asked to register the crime at once.
reducedPoliceInterest boolean The game marked the crime as one the police care less about.
minimumWantedLevel number The wanted level the crime sets at least, 0-6.
provenance "client-report" A player’s game reported it: an observation, not proof.

false drops the report and the wanted level that comes with it. true, or nothing, lets it through. The first false stops the handlers after it. See how decisions work.

Some players are never reported.

gamemodes/my-mode.ts
import { server } from "nativemp";
const untouchable = new Set<number>();
server.on("crimeReportForwardRequest", ({ offender }) => !untouchable.has(offender.id));