RedM Natives

SET_CLOCK_TIME

SET_CLOCK_TIME(12, 34, 56);

Hash0x3A52C59FFB2DEED8
Runtime nameSetClockTime
NamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x47C3B5848C3E45D8

Signature

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

Parameters

NameTypeDescription
hourint—
minuteint—
secondint—

Returns void

Description

SET_CLOCK_TIME(12, 34, 56);

Usage

Lua
SetClockTime(hour, minute, second)

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

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

Sources

alloc8or RDR3 NativeDB

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