Skip to content

crimeReportForwarded

Tells your gamemode that a crime report reached the offender’s game, after crimeReportForwardRequest allowed it. A refused report does not send this event.

Renamed in 0.28 from crimeObserved; see renamed names.

server.on("crimeReportForwarded", ({ reporter, offender, reportingEntityNetworkId, offenderPedNetworkId, crimeType, position, registerImmediately, reducedPoliceInterest, minimumWantedLevel, provenance }) => 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.
gamemodes/my-mode.ts
import { server } from "nativemp";
server.on("crimeReportForwarded", ({ reporter, offender, crimeType }) => {
server.log(`${reporter.name} reported crime ${crimeType} by ${offender.name}`);
});