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

GET_CLOCK_SECONDS

0x494E97C2EF27C470
0x099C927E
// GetClockSeconds
int GET_CLOCK_SECONDS();
Gets the current ingame clock second. Note that ingame clock seconds change really fast since a day in GTA is only 48 minutes in real life.  
Privacy
•
Cookie Policy
•
Cookie Settings
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)
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)
SET_CLOCK_TIME(int hour, int minute, int second)
Namespace: CUTSCENE
CAN_REQUEST_ASSETS_FOR_CUTSCENE_ENTITY()