The Lab
CLOCK native

SET_CLOCK_DATE

returns void3 paramsbuild 1207

Sets the in-game calendar date to the given day, month and year.

Signature

C
void SET_CLOCK_DATE(int day, int month, int year); // 0x02AD3092562941E2 b1207

Parameters

#NameType
1dayint
2monthint
3yearint

Facts

Facts about SET_CLOCK_DATE
Name
SET_CLOCK_DATE
Hash
0x02AD3092562941E2
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x02AD3092562941E2, -- SET_CLOCK_DATE
  0, -- int day
  0, -- int month
  0 -- int year
)
JavaScript
Citizen.invokeNative("0x02AD3092562941E2", // SET_CLOCK_DATE
  0, // int day
  0, // int month
  0 // int year
);
C#
Function.Call((Hash)0x02AD3092562941E2, // SET_CLOCK_DATE
  0, // int day
  0, // int month
  0 // int year
);
All CLOCK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.