FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: PLAYERAPI set: clientGame: gta5editImprove

REPORT_CRIME

0xE9B09589827545E7
0xD8EB3A44
// ReportCrime
void REPORT_CRIME(Player player, int crimeType, int wantedLvlThresh);
PLAYER::REPORT_CRIME(PLAYER::PLAYER_ID(), 37, PLAYER::GET_WANTED_LEVEL_THRESHOLD(1));  
From am_armybase.ysc.c4:  
PLAYER::REPORT_CRIME(PLAYER::PLAYER_ID(4), 36, PLAYER::GET_WANTED_LEVEL_THRESHOLD(4));  
-----  
This was taken from the GTAV.exe v1.334. The function is called sub_140592CE8. For a full decompilation of the function, see here: pastebin.com/09qSMsN7   
-----  
crimeType:  
1: Firearms possession  
2: Person running a red light ("5-0-5")  
3: Reckless driver  
4: Speeding vehicle (a "5-10")  
5: Traffic violation (a "5-0-5")  
6: Motorcycle rider without a helmet  
7: Vehicle theft (a "5-0-3")  
8: Grand Theft Auto  
9: ???  
10: ???  
11: Assault on a civilian (a "2-40")  
12: Assault on an officer  
13: Assault with a deadly weapon (a "2-45")  
14: Officer shot (a "2-45")  
15: Pedestrian struck by a vehicle  
16: Officer struck by a vehicle  
17: Helicopter down (an "AC"?)  
18: Civilian on fire (a "2-40")  
19: Officer set on fire (a "10-99")  
20: Car on fire  
21: Air unit down (an "AC"?)  
22: An explosion (a "9-96")  
23: A stabbing (a "2-45") (also something else I couldn't understand)  
24: Officer stabbed (also something else I couldn't understand)  
25: Attack on a vehicle ("MDV"?)  
26: Damage to property  
27: Suspect threatening officer with a firearm  
28: Shots fired  
29: ???  
30: ???  
31: ???  
32: ???  
33: ???  
34: A "2-45"  
35: ???  
36: A "9-25"  
37: ???  
38: ???  
39: ???  
40: ???  
41: ???  
42: ???  
43: Possible disturbance  
44: Civilian in need of assistance  
45: ???  
46: ???  
Privacy
•
Cookie Policy
•
Cookie Settings
IS_PLAYER_FREE_AIMING_AT_ENTITY(Player player, Entity entity)
IS_PLAYER_FREE_FOR_AMBIENT_TASK(Player player)
IS_PLAYER_LOGGING_IN_NP()
IS_PLAYER_ONLINE()
IS_PLAYER_PLAYING(Player player)
IS_PLAYER_PRESSING_HORN(Player player)
IS_PLAYER_READY_FOR_CUTSCENE(Player player)
IS_PLAYER_RIDING_TRAIN(Player player)
IS_PLAYER_SCRIPT_CONTROL_ON(Player player)
IS_PLAYER_TARGETTING_ANYTHING(Player player)
IS_PLAYER_TARGETTING_ENTITY(Player player, Entity entity)
IS_PLAYER_TELEPORT_ACTIVE()
IS_PLAYER_WANTED_LEVEL_GREATER(Player player, int wantedLevel)
IS_SPECIAL_ABILITY_ACTIVE(Player player)
IS_SPECIAL_ABILITY_ENABLED(Player player)
IS_SPECIAL_ABILITY_METER_FULL(Player player)
IS_SPECIAL_ABILITY_UNLOCKED(Hash playerModel)
IS_SYSTEM_UI_BEING_DISPLAYED()
NETWORK_PLAYER_ID_TO_INT()
PLAYER_ATTACH_VIRTUAL_BOUND(float p0, float p1, float p2, float p3, float p4, float p5, float p6, float p7)
PLAYER_DETACH_VIRTUAL_BOUND()
PLAYER_ID()
PLAYER_PED_ID()
REMOVE_PLAYER_HELMET(Player player, BOOL p2)
REPORT_CRIME(Player player, int crimeType, int wantedLvlThresh)
REPORT_POLICE_SPOTTED_PLAYER(Player player)
RESET_PLAYER_ARREST_STATE(Player player)
RESET_PLAYER_INPUT_GAIT(Player player)
RESET_PLAYER_STAMINA(Player player)
RESET_WANTED_LEVEL_DIFFICULTY(Player player)
RESET_WORLD_BOUNDARY_FOR_PLAYER()
RESTORE_PLAYER_STAMINA(Player player, float percentage)
_SET_ACHIEVEMENT_PROGRESS(int achievement, int progress)
SET_AIR_DRAG_MULTIPLIER_FOR_PLAYERS_VEHICLE(Player player, float multiplier)
SET_ALL_RANDOM_PEDS_FLEE(Player player, BOOL toggle)