Description
Is your feature request related to a problem? Please describe.
A crime report is always good to have especially for the roleplayer server since the SA engine has already implemented on that as a function, so why not add them into the MTA.
Describe the solution you'd like
Like the SA-MP does, add a shared function playCrimeReportForPlayer
, for server-side it would be playCrimeReportForPlayer(thePlayer,suspected,crimeid)
and client-side playCrimeReportForPlayer(suspected,crimeid)
- thePlayer - which player will hear the crime report
- suspected - The ID of the suspect player whom will be described in the crime report.
- crimeid - The crime ID, which will be reported as a 10-code (i.e. 10-16 if 16 was passed as the crimeid).
Describe alternatives you've considered
Additional context
The detailed documentation you can find it on their wiki:
https://sampwiki.blast.hk/wiki/PlayCrimeReportForPlayer
Also the SA Native can be obtain on the GTA-reversed project:
https://github.com/codenulls/gta-reversed/blob/master/source/game_sa/CCrime.cpp
and the SA-MP implementation can obained in:
https://github.com/dashr9230/SA-MP/blob/849d523d39b8ef81dd1ccf8d2b43210f1d2df939/client/game/game.cpp#L1133