getTimecycleModifierIndex
GET_TIMECYCLE_MODIFIER_INDEX0xFDF3D97C674AFB66The GTA V native GET_TIMECYCLE_MODIFIER_INDEX of the GRAPHICS namespace, as LS:MP client scripts call it: the global function getTimecycleModifierIndex, in JavaScript and in Lua.
getTimecycleModifierIndex(): numbergetTimecycleModifierIndex(): integerUsage
JavaScript
const result = getTimecycleModifierIndex();Lua
local result = getTimecycleModifierIndex()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Only use for this in the PC scripts is:
if (getTimecycleModifierIndex() != -1)
Reference
- Namespace
- Graphics GRAPHICS
- In the game
int GET_TIMECYCLE_MODIFIER_INDEX()- Hash
0xFDF3D97C674AFB66