RedM Natives

ADD_TO_CLOCK_TIME

Hash0xAB7C251C7701D336
Runtime nameAddToClockTime
NamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD716F30D8C8980E2

Signature

void ADD_TO_CLOCK_TIME(int hours, int minutes, int seconds);

Parameters

NameTypeDescription
hoursint—
minutesint—
secondsint—

Returns void

Usage

Lua
AddToClockTime(hours, minutes, seconds)

-- always works, by hash
Citizen.InvokeNative(0xAB7C251C7701D336, hours, minutes, seconds)
JavaScript and C#
JavaScript
AddToClockTime(hours, minutes, seconds);

// by hash
Citizen.invokeNative('0xAB7C251C7701D336', hours, minutes, seconds);
C#
Function.Call((Hash)0xAB7C251C7701D336, hours, minutes, seconds);

Sources

alloc8or RDR3 NativeDB

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