Перейти к содержанию

Gameplay::deleteIncident

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.game.gameplay.deleteIncident(incidentId);</syntaxhighlight>

Required Arguments

  • incidentId: int

Return value

  • int

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also