DO_SCREEN_FADE_OUT
Fades the screen out to black over duration milliseconds.
Wait for IS_SCREEN_FADED_OUT before teleporting or swapping scenes.
Signature
void DO_SCREEN_FADE_OUT(int duration); // 0x40C719A5E410B9E4 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | duration | int |
Facts
| Name | DO_SCREEN_FADE_OUT |
|---|---|
| Hash | 0x40C719A5E410B9E4 |
| 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(0x40C719A5E410B9E4, -- DO_SCREEN_FADE_OUT
0 -- int duration
)Citizen.invokeNative("0x40C719A5E410B9E4", // DO_SCREEN_FADE_OUT
0 // int duration
);Function.Call((Hash)0x40C719A5E410B9E4, // DO_SCREEN_FADE_OUT
0 // int duration
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.