The Lab
LAW native

SUPPRESS_CRIME_THIS_FRAME

returns void5 paramsbuild 1207

Prevents crimes of type crimeType from being reported for player during the current frame.

Call it every frame, for example to allow scripted fights without law response.

Signature

C
void SUPPRESS_CRIME_THIS_FRAME(Player player, Hash crimeType, int p2, int p3, int p4); // 0x785177E4D57D7389 b1207

Parameters

#NameType
1playerPlayer
2crimeTypeHash
3p2int
4p3int
5p4int

Facts

Facts about SUPPRESS_CRIME_THIS_FRAME
Name
SUPPRESS_CRIME_THIS_FRAME
Hash
0x785177E4D57D7389
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(0x785177E4D57D7389, -- SUPPRESS_CRIME_THIS_FRAME
  PlayerId(), -- Player player
  GetHashKey("name"), -- Hash crimeType
  0, -- int p2
  0, -- int p3
  0 -- int p4
)
JavaScript
Citizen.invokeNative("0x785177E4D57D7389", // SUPPRESS_CRIME_THIS_FRAME
  PlayerId(), // Player player
  GetHashKey("name"), // Hash crimeType
  0, // int p2
  0, // int p3
  0 // int p4
);
C#
Function.Call((Hash)0x785177E4D57D7389, // SUPPRESS_CRIME_THIS_FRAME
  API.PlayerId(), // Player player
  (uint)API.GetHashKey("name"), // Hash crimeType
  0, // int p2
  0, // int p3
  0 // int p4
);
All LAW natives

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