RedM Natives

SUPPRESS_CRIME_THIS_FRAME

Hash0x785177E4D57D7389
Runtime nameSuppressCrimeThisFrame
NamespaceLAW
SideClient
NameOfficial
Docs
Since build1207

Signature

void SUPPRESS_CRIME_THIS_FRAME(Player player, Hash crimeType, int p2, int p3, int p4);

Parameters

NameTypeDescription
playerPlayer—
crimeTypeHash—
p2int—
p3int—
p4int—

Returns void

Description

crimeType: see _REPORT_CRIME

Usage

Lua
SuppressCrimeThisFrame(player, crimeType, p2, p3, p4)

-- always works, by hash
Citizen.InvokeNative(0x785177E4D57D7389, player, crimeType, p2, p3, p4)
JavaScript and C#
JavaScript
SuppressCrimeThisFrame(player, crimeType, p2, p3, p4);

// by hash
Citizen.invokeNative('0x785177E4D57D7389', player, crimeType, p2, p3, p4);
C#
Function.Call((Hash)0x785177E4D57D7389, player, crimeType, p2, p3, p4);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.