setExtraTcmodifier
SET_EXTRA_TCMODIFIER0x5096FD9CCB49056DThe GTA V native SET_EXTRA_TCMODIFIER of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setExtraTcmodifier, in JavaScript and in Lua.
setExtraTcmodifier(modifierName: string): voidsetExtraTcmodifier(modifierName: string)Usage
JavaScript
setExtraTcmodifier(modifierName);Lua
setExtraTcmodifier(modifierName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
modifierName | string | string | string |
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_EXTRA_TCMODIFIER(const char* modifierName)- Hash
0x5096FD9CCB49056D- Formerly
_SET_EXTRA_TIMECYCLE_MODIFIER