natives.DO FADE: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 4: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.DO_FADE | |name = natives.DO_FADE | ||
|parameters = int | |parameters = int direction, int duration | ||
|parameter1 = int | |parameter1 = int direction Direction between 0 and 1 for fade type. | ||
|parameter2 = int | |parameter2 = int duration Time value in milliseconds. | ||
|usage = | |usage = triggers a screen fade effect (0 = fade in, 1 = fade out) | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Latest revision as of 09:13, 12 June 2026
Function Client Only ![]()
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.