FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_PLAY_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)
IS_CUTSCENE_PLAYING
()
REGISTER_ENTITY_FOR_CUTSCENE
(Entity cutsceneEntity, char* cutsceneEntName, int p2, Hash modelHash, int p4)
REGISTER_SYNCHRONISED_SCRIPT_SPEECH
()
REMOVE_CUT_FILE
(char* cutsceneName)
REMOVE_CUTSCENE
()