natives.DO_FADE

From GTA Connected
Revision as of 09:13, 12 June 2026 by Roxas (talk | contribs) (Add ScriptItem documentation from GTA VC SCM decompile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.DO_FADE(int direction, int duration)
The natives.DO_FADE function is used to triggers a screen fade effect (0 = fade in, 1 = fade out).

Parameters

1) int direction Direction between 0 and 1 for fade type.
2) int duration Time value in milliseconds.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.