RDR3 match
LAW::NUM_CRIMES_SUPPRESSED
0x6E0B837F3F717FB3 ·RVA 0x03E8E710
Signature
int NUM_CRIMES_SUPPRESSED(Ped playerPed, int crimeType);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | playerPed |
RDR3 takes a Player; GTA VI takes the player's ped. |
| 1 | int | crimeType |
– |
Returns
int
Call it
// LAW::NUM_CRIMES_SUPPRESSED
auto result = invoke<int>(0x6E0B837F3F717FB3, playerPed, crimeType);// LAW::NUM_CRIMES_SUPPRESSED
int result = Function.Call<int>((Hash)0x6E0B837F3F717FB3, playerPed, crimeType);-- LAW::NUM_CRIMES_SUPPRESSED
local result = Citizen.InvokeNative(0x6E0B837F3F717FB3, playerPed, crimeType)// LAW::NUM_CRIMES_SUPPRESSED
const result = Citizen.invokeNative("0x6E0B837F3F717FB3", playerPed, crimeType);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.