SET_RANDOM_EVENT_FLAG
Sets or clears the random event flag.
Signature
void SET_RANDOM_EVENT_FLAG(BOOL toggle); // 0xB1ADCCC4150C6473 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | toggle | BOOL |
Facts
| Name | SET_RANDOM_EVENT_FLAG |
|---|---|
| Hash | 0xB1ADCCC4150C6473 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xB1ADCCC4150C6473, -- SET_RANDOM_EVENT_FLAG
false -- BOOL toggle
)Citizen.invokeNative("0xB1ADCCC4150C6473", // SET_RANDOM_EVENT_FLAG
false // BOOL toggle
);Function.Call((Hash)0xB1ADCCC4150C6473, // SET_RANDOM_EVENT_FLAG
false // BOOL toggle
);Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.