FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: CLOCKAPI set: clientGame: gta5editImprove

GET_CLOCK_HOURS

0x25223CA6B4D20B7F
0x7EF8316F
// GetClockHours
int GET_CLOCK_HOURS();
Gets the current ingame hour, expressed without zeros. (09:34 will be represented as 9)  
Privacy
•
Cookie Policy
•
Cookie Settings
0x7B8A361C1813FBEF()
0x91EF6EE6419E5B97(BOOL p0)
0x9DFE13ECDC1EC196(BOOL p0, BOOL p1)
0x9F97DA93681F87EA()
0xA2767257A320FC82(Any p0, BOOL p1)
0xA7092AFE81944852()
0xAABD62873FFB1A33(Any p0, Any p1)
0xB1381B97F70C7B30()
0xBF72910D0F26F025()
0xC8391C309684595A()
0xC8B5C4A79CC18B94(Cam cam)
0xCCD078C2665D2973(BOOL p0)
0xCED08CBE8EBB97C7(float p0, float p1)
0xDB90C6CCA48940F1(BOOL p0)
0xDD79DF9F4D26E1C9()
0xE111A7C0D200CBC5(Any p0, float p1)
0xEAF0FA793D05C592()
0xF55E4046F6F831DC(Any p0, float p1)
0xFD3151CD37EA2245(Entity entity)
Namespace: CLOCK
ADD_TO_CLOCK_TIME(int hours, int minutes, int seconds)
ADVANCE_CLOCK_TIME_TO(int hour, int minute, int second)
GET_CLOCK_DAY_OF_MONTH()
GET_CLOCK_DAY_OF_WEEK()
GET_CLOCK_HOURS()
GET_CLOCK_MINUTES()
GET_CLOCK_MONTH()
GET_CLOCK_SECONDS()
GET_CLOCK_YEAR()
GET_LOCAL_TIME(int* year, int* month, int* day, int* hour, int* minute, int* second)
GET_MILLISECONDS_PER_GAME_MINUTE()
GET_POSIX_TIME(int* year, int* month, int* day, int* hour, int* minute, int* second)
GET_UTC_TIME(int* year, int* month, int* day, int* hour, int* minute, int* second)
PAUSE_CLOCK(BOOL toggle)
SET_CLOCK_DATE(int day, int month, int year)