RedM Natives

SET_CLOCK_DATE

Hash0x02AD3092562941E2
Runtime nameSetClockDate
NamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB096419DF0D06CE7

Signature

void SET_CLOCK_DATE(int day, int month, int year);

Parameters

NameTypeDescription
dayint—
monthint—
yearint—

Returns void

Usage

Lua
SetClockDate(day, month, year)

-- always works, by hash
Citizen.InvokeNative(0x02AD3092562941E2, day, month, year)
JavaScript and C#
JavaScript
SetClockDate(day, month, year);

// by hash
Citizen.invokeNative('0x02AD3092562941E2', day, month, year);
C#
Function.Call((Hash)0x02AD3092562941E2, day, month, year);

Sources

alloc8or RDR3 NativeDB

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