Serverside player crime reporting script

Hi,
Im new to GTA coding and i was looking through the gta native db and i noticed that there was this in the native db: void REPORT_CRIME(Player player, int crimeType, int wantedLvlThresh) anyone know if there would be a way to use this to allow players roleplaying as civilians to be able to use a command like: /crime (and then the description of the crime) to report a crime and then players roleplaying as officers can see the crime and respond to it?

You can use PlayPoliceReport.

for example:

PlayPoliceReport("SCRIPTED_SCANNER_REPORT_GETAWAY_01", 0.0)
and this native seems to be looped.

all reports you can find in native-db.