SET_CLOCK_TIME
SET_CLOCK_TIME(12, 34, 56);
Hash
0x3A52C59FFB2DEED8Runtime name
SetClockTimeNamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x47C3B5848C3E45D8Signature
void SET_CLOCK_TIME(int hour, int minute, int second);Parameters
| Name | Type | Description |
|---|---|---|
hour | int | — |
minute | int | — |
second | int | — |
Returns void
Description
SET_CLOCK_TIME(12, 34, 56);
Usage
SetClockTime(hour, minute, second)
-- always works, by hash
Citizen.InvokeNative(0x3A52C59FFB2DEED8, hour, minute, second)JavaScript and C#
SetClockTime(hour, minute, second);
// by hash
Citizen.invokeNative('0x3A52C59FFB2DEED8', hour, minute, second);Function.Call((Hash)0x3A52C59FFB2DEED8, hour, minute, second);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.