The Lab
CLOCK native

ADVANCE_CLOCK_TIME_TO

returns void3 paramsbuild 1207

Advances the in-game clock forward to the given hour, minute and second, rolling over to the next day if that time has already passed.

Signature

C
void ADVANCE_CLOCK_TIME_TO(int hour, int minute, int second); // 0x0184750AE88D0B1D b1207

Parameters

#NameType
1hourint
2minuteint
3secondint

Facts

Facts about ADVANCE_CLOCK_TIME_TO
Name
ADVANCE_CLOCK_TIME_TO
Hash
0x0184750AE88D0B1D
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(0x0184750AE88D0B1D, -- ADVANCE_CLOCK_TIME_TO
  0, -- int hour
  0, -- int minute
  0 -- int second
)
JavaScript
Citizen.invokeNative("0x0184750AE88D0B1D", // ADVANCE_CLOCK_TIME_TO
  0, // int hour
  0, // int minute
  0 // int second
);
C#
Function.Call((Hash)0x0184750AE88D0B1D, // ADVANCE_CLOCK_TIME_TO
  0, // int hour
  0, // int minute
  0 // int second
);
All CLOCK natives

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