The FiveM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / FiveM
Native reference
- CUTSCENEvoid
0x06EE9048FD080382
Description not yet documented
0x06EE9048FD080382 - CUTSCENEvoid
0x20746F7B1032A3C7
Description not yet documented
0x20746F7B1032A3C7 - CUTSCENEvoid
0x2F137B508DE238F2
Description not yet documented
0x2F137B508DE238F2 - CUTSCENEBOOL
0x4CEBC1ED31E8925E
``` This function is hard-coded to always return 1. ```
0x4CEBC1ED31E8925E - CUTSCENEAny
0x4FCD976DA686580C
``` NativeDB Introduced: v1290 ```
0x4FCD976DA686580C - CUTSCENEint
0x583DF8E3D4AFBD98
Description not yet documented
0x583DF8E3D4AFBD98 - CUTSCENEBOOL
0x5EDEF0CF8C1DAB3C
Description not yet documented
0x5EDEF0CF8C1DAB3C - CUTSCENEvoid
0x7F96F23FA9B73327
``` SET_VEHICLE_* ```
0x7F96F23FA9B73327 - CUTSCENEvoid
0x8D9DF6ECA8768583
``` SET_SCRIPT_* Sets the cutscene's owning thread ID. ```
0x8D9DF6ECA8768583 - CUTSCENEint
0xA0FE76168A189DDB
Description not yet documented
0xA0FE76168A189DDB - CUTSCENEvoid
0xC61B86C9F61EB404
``` Toggles a value (bool) for cutscenes. SET_* ```
0xC61B86C9F61EB404 - CUTSCENEvoid
0xE36A98D8AB3D3C66
Description not yet documented
0xE36A98D8AB3D3C66 - CUTSCENEBOOL
CAN_REQUEST_ASSETS_FOR_CUTSCENE_ENTITY
Returns when it is safe to start applying changes to cutscene entities. Should always be used for applying components. See [`SET_CUTSCENE_PED_COMPONENT_VARIATION_FROM_PED`](#\_0x2A56C06EBEF2B0D9) and [`REGISTER_ENTITY_FOR_CUTSCENE`](#\_0xE40C1C56DF95C2E8) for an example. This will be true before the cutscene is considered loaded
0xB56BBBCC2955D9CB - CUTSCENEBOOL
CAN_SET_ENTER_STATE_FOR_REGISTERED_ENTITY
``` modelHash (p1) was always 0 in R* scripts ```
0x645D0B458D8E17B5 - CUTSCENEBOOL
CAN_SET_EXIT_STATE_FOR_CAMERA
Whether or not it is safe to run functions on the camera, as the camera is now no longer being used by the cutscene.
0xB2CBCD0930DFB420 - CUTSCENEBOOL
CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY
Returns if the script can begin interacting with the registered entity. Primarly used for lead-outs of cutscenes. Returns on frame after cutscene ends, so you cannot get is while using IsCutsceneActive() Whether it is safe to start doing scripted actions on the entity, like simulating walking out of a cutscene.
0x4C6A6451C79E4662 - CUTSCENEBOOL
DOES_CUTSCENE_ENTITY_EXIST
Description not yet documented
0x499EF20C5DB25C59 - CUTSCENEint
_GET_CUT_FILE_NUM_SECTIONS
Description not yet documented
0x0ABC54DE641DC0FC - CUTSCENEint
GET_CUTSCENE_END_TIME
Returns the time of the cutscene's end accounting for [`REQUEST_CUTSCENE_WITH_PLAYBACK_LIST`](#\_0xC23DE0E91C30B58C) If a cutscene is laid out with 10 second sections, and section 0 and 1 are enabled then it would be 20000ms. ``` NativeDB Introduced: v1734 ```
0x971D7B15BCDBEF99 - CUTSCENEint
GET_CUTSCENE_PLAY_TIME
Gets the current time of the cutscene. ``` NativeDB Introduced: v3258 ```
0x710286BC5EF4D6E1 - CUTSCENEint
GET_CUTSCENE_SECTION_PLAYING
Description not yet documented
0x49010A6A396553D8 - CUTSCENEint
GET_CUTSCENE_TIME
Gets the elapsed time of the current cutscene in
0xE625BEABBAFFDAB9 - CUTSCENEint
GET_CUTSCENE_TOTAL_DURATION
Gets the total length of the cutscene irrespective of playback list in milliseconds To account for sections, see [`GET_CUTSCENE_END_TIME`](#\_0x971D7B15BCDBEF99)
0xEE53B14A19E480D4 - CUTSCENEEntity
GET_ENTITY_INDEX_OF_CUTSCENE_ENTITY
Returns the handle of a cutscene entity, can be ped
0x0A2E9FDB9A8C62F6 - CUTSCENEEntity
GET_ENTITY_INDEX_OF_REGISTERED_ENTITY
Description not yet documented
0xC0741A26499654CD - CUTSCENEBOOL
HAS_CUT_FILE_LOADED
``` Simply checks if the cutscene has loaded and doesn't check via CutSceneManager as opposed to HAS_[THIS]_CUTSCENE_LOADED. ```
0xA1C996C2A744262E - CUTSCENEBOOL
HAS_CUTSCENE_CUT_THIS_FRAME
Description not yet documented
0x708BDD8CD795B043 - CUTSCENEBOOL
HAS_CUTSCENE_FINISHED
Description not yet documented
0x7C0A893088881D57 - CUTSCENEBOOL
HAS_CUTSCENE_LOADED
Description not yet documented
0xC59F528E9AB9F339 - CUTSCENEBOOL
HAS_THIS_CUTSCENE_LOADED
Description not yet documented
0x228D3D94F8A11C3C - CUTSCENEBOOL
IS_CUTSCENE_ACTIVE
Description not yet documented
0x991251AFC3981F84 - CUTSCENEBOOL
IS_CUTSCENE_PLAYBACK_FLAG_SET
Description not yet documented
0x71B74D2AE19338D0 - CUTSCENEBOOL
IS_CUTSCENE_PLAYING
Description not yet documented
0xD3C2E180A40F031E - CUTSCENEvoid
REGISTER_ENTITY_FOR_CUTSCENE
This can only be run once [`CAN_REQUEST_ASSETS_FOR_CUTSCENE_ENTITY`](#\_0xB56BBBCC2955D9CB) is true, but can be run before [`HAS_CUTSCENE_LOADED`](#\_0xC59F528E9AB9F339)
0xE40C1C56DF95C2E8 - CUTSCENEvoid
REGISTER_SYNCHRONISED_SCRIPT_SPEECH
Only used twice in armenian1.c
0x2131046957F31B04 - CUTSCENEvoid
REMOVE_CUT_FILE
``` Simply unloads the cutscene and doesn't do extra stuff that REMOVE_CUTSCENE does. ```
0xD00D76A7DFC9D852 - CUTSCENEvoid
REMOVE_CUTSCENE
Description not yet documented
0x440AF51A3462B86F - CUTSCENEvoid
REQUEST_CUT_FILE
``` Simply loads the cutscene and doesn't do extra stuff that REQUEST_CUTSCENE does. ```
0x06A3524161C502BA - CUTSCENEvoid
REQUEST_CUTSCENE
Description not yet documented
0x7A86743F475D9E09 - CUTSCENEvoid
REQUEST_CUTSCENE_WITH_PLAYBACK_LIST
``` playbackFlags: Which scenes should be played. Example: 0x105 (bit 0, 2 and 8 set) will enable scene 1, 3 and 9. ```
0xC23DE0E91C30B58C
A living reference. Documentation coverage varies by native and source.