IS_INCIDENT_VALID
Returns true if incidentId refers to an existing dispatch incident.
Signature
BOOL IS_INCIDENT_VALID(int incidentId); // 0x39F2B1BAD412246A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | incidentId | int |
Facts
| 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.
local result = Citizen.InvokeNative(0x39F2B1BAD412246A, -- IS_INCIDENT_VALID
0 -- int incidentId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x39F2B1BAD412246A", // IS_INCIDENT_VALID
0, // int incidentId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x39F2B1BAD412246A, // IS_INCIDENT_VALID
0 // int incidentId
);Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.