Game code
MISC::IS_INCIDENT_VALID
0x2BEDDB95C60D4E45 ·RVA 0x03E8BD90
Signature
BOOL IS_INCIDENT_VALID(int incidentId, BOOL p1);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | int | incidentId |
– |
| 1 | BOOL | p1 |
– |
Returns
BOOL
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p1 is not in RDR3's signature; the game reads it as a true/false value.
Call it
// MISC::IS_INCIDENT_VALID
auto result = invoke<BOOL>(0x2BEDDB95C60D4E45, incidentId, p1);// MISC::IS_INCIDENT_VALID
bool result = Function.Call<bool>((Hash)0x2BEDDB95C60D4E45, incidentId, p1);-- MISC::IS_INCIDENT_VALID
local result = Citizen.InvokeNative(0x2BEDDB95C60D4E45, incidentId, p1)// MISC::IS_INCIDENT_VALID
const result = Citizen.invokeNative("0x2BEDDB95C60D4E45", incidentId, p1);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.