RedM Natives

ADVANCE_CLOCK_TIME_TO

Hash0x0184750AE88D0B1D
Runtime nameAdvanceClockTimeTo
NamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC8CA9670B9D83B3B

Signature

void ADVANCE_CLOCK_TIME_TO(int hour, int minute, int second);

Parameters

NameTypeDescription
hourint—
minuteint—
secondint—

Returns void

Usage

Lua
AdvanceClockTimeTo(hour, minute, second)

-- always works, by hash
Citizen.InvokeNative(0x0184750AE88D0B1D, hour, minute, second)
JavaScript and C#
JavaScript
AdvanceClockTimeTo(hour, minute, second);

// by hash
Citizen.invokeNative('0x0184750AE88D0B1D', hour, minute, second);
C#
Function.Call((Hash)0x0184750AE88D0B1D, hour, minute, second);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.