SUPPRESS_CRIME_THIS_FRAME
Hash
0x785177E4D57D7389Runtime name
SuppressCrimeThisFrameNamespaceLAW
SideClient
NameOfficial
Docs
Since build1207
Signature
void SUPPRESS_CRIME_THIS_FRAME(Player player, Hash crimeType, int p2, int p3, int p4);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
crimeType | Hash | — |
p2 | int | — |
p3 | int | — |
p4 | int | — |
Returns void
Description
crimeType: see _REPORT_CRIME
Usage
SuppressCrimeThisFrame(player, crimeType, p2, p3, p4)
-- always works, by hash
Citizen.InvokeNative(0x785177E4D57D7389, player, crimeType, p2, p3, p4)JavaScript and C#
SuppressCrimeThisFrame(player, crimeType, p2, p3, p4);
// by hash
Citizen.invokeNative('0x785177E4D57D7389', player, crimeType, p2, p3, p4);Function.Call((Hash)0x785177E4D57D7389, player, crimeType, p2, p3, p4);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.