The Lab
LAW native

_REPORT_CRIME

returns void5 paramsbuild 1207

Reports a crime of type crimeType committed by player with the given bounty, involving entity. isKnownSuspect marks whether the player was identified.

Signature

C
void _REPORT_CRIME(Player player, Hash crimeType, int bounty, Entity entity, BOOL isKnownSuspect); // 0xF60386770878A98F b1207

Parameters

#NameType
1playerPlayer
2crimeTypeHash
3bountyint
4entityEntity
5isKnownSuspectBOOL

Facts

Facts about _REPORT_CRIME
Name
_REPORT_CRIME
Hash
0xF60386770878A98F
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xF60386770878A98F, -- _REPORT_CRIME
  PlayerId(), -- Player player
  GetHashKey("name"), -- Hash crimeType
  0, -- int bounty
  PlayerPedId(), -- Entity entity
  false -- BOOL isKnownSuspect
)
JavaScript
Citizen.invokeNative("0xF60386770878A98F", // _REPORT_CRIME
  PlayerId(), // Player player
  GetHashKey("name"), // Hash crimeType
  0, // int bounty
  PlayerPedId(), // Entity entity
  false // BOOL isKnownSuspect
);
C#
Function.Call((Hash)0xF60386770878A98F, // _REPORT_CRIME
  API.PlayerId(), // Player player
  (uint)API.GetHashKey("name"), // Hash crimeType
  0, // int bounty
  API.PlayerPedId(), // Entity entity
  false // BOOL isKnownSuspect
);
All LAW natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.