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

CAN_SET_EXIT_STATE_FOR_CAMERA

0xB2CBCD0930DFB420
0xEDAE6C02
// CanSetExitStateForCamera
BOOL CAN_SET_EXIT_STATE_FOR_CAMERA(BOOL p0);
Parameters:
  • p0:

    Mostly false

Whether or not it is safe to run functions on the camera, as the camera is now no longer being used by the cutscene.

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)
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)