Skip to main content

Gameplay::deleteIncident

Delete an incident with a given id.

=======================================================
Correction, I have change this to int, instead of int*
as it doesn't use a pointer to the createdIncident.
If you try it you will crash (or) freeze.
=======================================================

Syntax​

mp.game.gameplay.deleteIncident(incidentId);

Required Arguments​

  • incidentId: int

Return value​

  • int

Example​

// todo