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

Gameplay::isIncidentValid

Материал из RAGE MP Wiki Archive
Версия от 10:04, 22 июля 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
=================================================
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.isIncidentValid(incidentId);</syntaxhighlight>

Required Arguments

  • incidentId: int

Return value

  • int

Example

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

See also