MiscClient

setCreditsFadeOutWithScreen

SET_CREDITS_FADE_OUT_WITH_SCREEN0xB51B9AB9EF81868C

The GTA V native SET_CREDITS_FADE_OUT_WITH_SCREEN of the MISC namespace, as LS:MP client scripts call it: the global function setCreditsFadeOutWithScreen, in JavaScript and in Lua.

SignatureJavaScript
setCreditsFadeOutWithScreen(toggle: boolean): void
SignatureLua
setCreditsFadeOutWithScreen(toggle: boolean)

Usage

JavaScript
setCreditsFadeOutWithScreen(toggle);
Lua
setCreditsFadeOutWithScreen(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void SET_CREDITS_FADE_OUT_WITH_SCREEN(BOOL toggle)
Hash
0xB51B9AB9EF81868C

Open in the interactive natives reference