GraphicsClient

getExtraTcmodifier

GET_EXTRA_TCMODIFIER0xBB0527EC6341496D

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

SignatureJavaScript
getExtraTcmodifier(): number
SignatureLua
getExtraTcmodifier(): integer

Usage

JavaScript
const result = getExtraTcmodifier();
Lua
local result = getExtraTcmodifier()

Parameters

None.

Returns

int JavaScript number, Lua integer

Notes

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

See getTimecycleModifierIndex for use, works the same just for the secondary timecycle modifier.
Returns an integer representing the Timecycle modifier

Reference

Namespace
Graphics GRAPHICS
In the game
int GET_EXTRA_TCMODIFIER()
Hash
0xBB0527EC6341496D
Formerly
_GET_EXTRA_TIMECYCLE_MODIFIER_INDEX

Open in the interactive natives reference