The Lab
NETWORK native

_NETWORK_CLOCK_TIME_OVERRIDE

returns void5 paramsbuild 1207

Overrides the local clock time in a network session, with an optional transition time and pause.

Signature

C
void _NETWORK_CLOCK_TIME_OVERRIDE(int hour, int minute, int second, int transitionTime, BOOL pauseClock); // 0x669E223E64B1903C b1207

Parameters

#NameType
1hourint
2minuteint
3secondint
4transitionTimeint
5pauseClockBOOL

Facts

Facts about _NETWORK_CLOCK_TIME_OVERRIDE
Name
_NETWORK_CLOCK_TIME_OVERRIDE
Hash
0x669E223E64B1903C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x669E223E64B1903C, -- _NETWORK_CLOCK_TIME_OVERRIDE
  0, -- int hour
  0, -- int minute
  0, -- int second
  0, -- int transitionTime
  false -- BOOL pauseClock
)
JavaScript
Citizen.invokeNative("0x669E223E64B1903C", // _NETWORK_CLOCK_TIME_OVERRIDE
  0, // int hour
  0, // int minute
  0, // int second
  0, // int transitionTime
  false // BOOL pauseClock
);
C#
Function.Call((Hash)0x669E223E64B1903C, // _NETWORK_CLOCK_TIME_OVERRIDE
  0, // int hour
  0, // int minute
  0, // int second
  0, // int transitionTime
  false // BOOL pauseClock
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.