GraphicsClient

setTransitionTimecycleModifier

SET_TRANSITION_TIMECYCLE_MODIFIER0x3BCF567485E1971C

The GTA V native SET_TRANSITION_TIMECYCLE_MODIFIER of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setTransitionTimecycleModifier, in JavaScript and in Lua.

SignatureJavaScript
setTransitionTimecycleModifier(modifierName: string, transition: number): void
SignatureLua
setTransitionTimecycleModifier(modifierName: string, transition: number)

Usage

JavaScript
setTransitionTimecycleModifier(modifierName, transition);
Lua
setTransitionTimecycleModifier(modifierName, transition)

Parameters

ParameterTypeJavaScriptLua
modifierNamestringstringstring
transitionfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_TRANSITION_TIMECYCLE_MODIFIER(const char* modifierName, float transition)
Hash
0x3BCF567485E1971C

Open in the interactive natives reference