The Lab
MISC native

IS_INCIDENT_VALID

returns BOOL1 parambuild 1207

Returns true if incidentId refers to an existing dispatch incident.

Signature

C
BOOL IS_INCIDENT_VALID(int incidentId); // 0x39F2B1BAD412246A b1207

Parameters

#NameType
1incidentIdint

Facts

Facts about IS_INCIDENT_VALID
Name
IS_INCIDENT_VALID
Hash
0x39F2B1BAD412246A
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x39F2B1BAD412246A, -- IS_INCIDENT_VALID
  0 -- int incidentId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x39F2B1BAD412246A", // IS_INCIDENT_VALID
  0, // int incidentId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x39F2B1BAD412246A, // IS_INCIDENT_VALID
  0 // int incidentId
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.