FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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
()
CAN_SET_ENTER_STATE_FOR_REGISTERED_ENTITY
(char* cutsceneEntName, Hash modelHash)
CAN_SET_EXIT_STATE_FOR_CAMERA
(BOOL p0)
CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY
(char* cutsceneEntName, Hash modelHash)
DOES_CUTSCENE_ENTITY_EXIST
(char* cutsceneEntName, Hash modelHash)
_GET_CUT_FILE_NUM_SECTIONS
(char* cutsceneName)
_GET_CUTSCENE_END_TIME
()
GET_CUTSCENE_SECTION_PLAYING
()
GET_CUTSCENE_TIME
()
GET_CUTSCENE_TOTAL_DURATION
()
GET_ENTITY_INDEX_OF_CUTSCENE_ENTITY
(char* cutsceneEntName, Hash modelHash)
GET_ENTITY_INDEX_OF_REGISTERED_ENTITY
(char* cutsceneEntName, Hash modelHash)
HAS_CUT_FILE_LOADED
(char* cutsceneName)
HAS_CUTSCENE_CUT_THIS_FRAME
()
HAS_CUTSCENE_FINISHED
()
HAS_CUTSCENE_LOADED
()
HAS_THIS_CUTSCENE_LOADED
(char* cutsceneName)
IS_CUTSCENE_ACTIVE
()
IS_CUTSCENE_PLAYBACK_FLAG_SET
(int flag)