setTransitionTimecycleModifier
SET_TRANSITION_TIMECYCLE_MODIFIER0x3BCF567485E1971CThe 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.
setTransitionTimecycleModifier(modifierName: string, transition: number): voidsetTransitionTimecycleModifier(modifierName: string, transition: number)Usage
JavaScript
setTransitionTimecycleModifier(modifierName, transition);Lua
setTransitionTimecycleModifier(modifierName, transition)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
modifierName | string | string | string |
transition | float | number | number |
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.
Full list of timecycle modifiers by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/timecycleModifiers.json
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_TRANSITION_TIMECYCLE_MODIFIER(const char* modifierName, float transition)- Hash
0x3BCF567485E1971C