_REPORT_CRIME
Reports a crime of type crimeType committed by player with the given bounty, involving entity. isKnownSuspect marks whether the player was identified.
Signature
void _REPORT_CRIME(Player player, Hash crimeType, int bounty, Entity entity, BOOL isKnownSuspect); // 0xF60386770878A98F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | crimeType | Hash |
| 3 | bounty | int |
| 4 | entity | Entity |
| 5 | isKnownSuspect | BOOL |
Facts
| 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.
Citizen.InvokeNative(0xF60386770878A98F, -- _REPORT_CRIME
PlayerId(), -- Player player
GetHashKey("name"), -- Hash crimeType
0, -- int bounty
PlayerPedId(), -- Entity entity
false -- BOOL isKnownSuspect
)Citizen.invokeNative("0xF60386770878A98F", // _REPORT_CRIME
PlayerId(), // Player player
GetHashKey("name"), // Hash crimeType
0, // int bounty
PlayerPedId(), // Entity entity
false // BOOL isKnownSuspect
);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
);Related LAW natives
- _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE
- _GET_CRIME_BOUNTY_AMOUNT_BY_TYPE
- _GET_CRIME_DISPATCH_TYPE_FOR_PLAYER
- _GET_HUD_PLAYER_CRIME_TYPE
- GET_PLAYER_REGISTERED_CRIME
- SUPPRESS_CRIME_THIS_FRAME
- _REMOVE_GUARD_ZONE
- _ADD_WITNESS_RESPONSE
- _ARE_ANY_LAW_PEDS_INVESTIGATING
- _ARE_INVESTIGATORS_ACTIVE
- _ARE_LAW_PEDS_ENABLED_FOR_TRAIN
- _ARE_WITNESSES_PENDING
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.