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

Gameplay::deleteIncident

Материал из RAGE MP Wiki Archive
Версия от 10:03, 22 июля 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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