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
- MOBILEvoid
0xA2CCBE62CD4C91A4
``` Needs more research. If the "phone_cam12" filter is applied, this function is called with "TRUE"; otherwise, "FALSE". Example (XBOX 360): // check current filter selection if (MISC::ARE_STRINGS_EQUAL(getElem(g_2471024, &l_17, 4), "phone_cam12") != 0) { MOBILE::_0xC273BB4D(0); // FALSE } else { MOBILE::_0xC273BB4D(1); // TRUE } ```
0xA2CCBE62CD4C91A4 - MOBILEvoid
0xAC2890471901861C
Description not yet documented
0xAC2890471901861C - MOBILEBOOL
CAN_PHONE_BE_SEEN_ON_SCREEN
``` This one is weird and seems to return a TRUE state regardless of whether the phone is visible on screen or tucked away. I can confirm the above. This function is hard-coded to always return 1. ```
0xC4E2813898C97A4B - MOBILEvoid
CELL_CAM_ACTIVATE
Activates the cellphone camera. Make sure you have a mobile phone created with [`CREATE_MOBILE_PHONE`](#\_0xA4E8E696C532FBC7) or else the camera will not work.
0xFDE8F069C542D126 - MOBILEvoid
CELL_CAM_ACTIVATE_SELFIE_MODE
Toggles the selfie mode on the cellphone camera. Only visible when the cell phone camera is active.
0x015C49A93E3E086E - MOBILEBOOL
CELL_CAM_IS_CHAR_VISIBLE_NO_FACE_CHECK
Description not yet documented
0x439E9BC95B7E7FBE - MOBILEvoid
_CELL_CAM_MOVE_FINGER
Moves the character's finger in a swiping motion when holding a cellphone in their hand through the use of the [CREATE_MOBILE_PHONE](#\_0xA4E8E696C532FBC7) native. ```cpp enum eCellInput { CELL_INPUT_NONE = 0, CELL_INPUT_UP = 1, CELL_INPUT_DOWN = 2, CELL_INPUT_LEFT = 3, CELL_INPUT_RIGHT = 4, CELL_INPUT_SELECT = 5 } ```
0x95C9E72F3D7DEC9B - MOBILEvoid
_CELL_CAM_SET_DISTANCE
Description not yet documented
0x53F4892D18EC90A4 - MOBILEvoid
_CELL_CAM_SET_HEAD_HEIGHT
Description not yet documented
0x466DA42C89865553 - MOBILEvoid
_CELL_CAM_SET_HEAD_PITCH
Description not yet documented
0xD6ADE981781FCA09 - MOBILEvoid
_CELL_CAM_SET_HEAD_ROLL
Description not yet documented
0xF1E22DC13F5EEBAD - MOBILEvoid
_CELL_CAM_SET_HORIZONTAL_OFFSET
Description not yet documented
0x1B0B4AEED5B9B41C - MOBILEvoid
_CELL_CAM_SET_LEAN
``` if the bool "Toggle" is "true" so the phone is lean. if the bool "Toggle" is "false" so the phone is not lean. ```
0x44E44169EF70138E - MOBILEvoid
_CELL_CAM_SET_ROLL
Description not yet documented
0x15E69E2802C24B8D - MOBILEvoid
_CELL_CAM_SET_VERTICAL_OFFSET
Description not yet documented
0x3117D84EFA60F77B - MOBILEvoid
CREATE_MOBILE_PHONE
``` Creates a mobile phone of the specified type. Possible phone types: 0 - Default phone / Michael's phone 1 - Trevor's phone 2 - Franklin's phone 4 - Prologue phone These values represent bit flags, so a value of '3' would toggle Trevor and Franklin's phones together, causing unexpected behavior and most likely crash the game. ```
0xA4E8E696C532FBC7 - MOBILEvoid
DESTROY_MOBILE_PHONE
``` Destroys the currently active mobile phone. ```
0x3BC861DF703E5097 - MOBILEvoid
GET_MOBILE_PHONE_POSITION
Description not yet documented
0x584FDFDA48805B86 - MOBILEvoid
GET_MOBILE_PHONE_RENDER_ID
Description not yet documented
0xB4A53E05F68B6FA1 - MOBILEvoid
GET_MOBILE_PHONE_ROTATION
Description not yet documented
0x1CEFB61F193070AE - MOBILEvoid
SCRIPT_IS_MOVING_MOBILE_PHONE_OFFSCREEN
``` If bool Toggle = true so the mobile is hide to screen. If bool Toggle = false so the mobile is show to screen. ```
0xF511F759238A5122 - MOBILEvoid
SET_MOBILE_PHONE_DOF_STATE
Toggles depth of field on the cellphone camera.
0x375A706A5C2FD084 - MOBILEvoid
SET_MOBILE_PHONE_POSITION
Description not yet documented
0x693A5C6D6734085B - MOBILEvoid
SET_MOBILE_PHONE_ROTATION
``` Last parameter is unknown and always zero. ```
0xBB779C0CA917E865 - MOBILEvoid
SET_MOBILE_PHONE_SCALE
``` The minimum/default is 500.0f. If you plan to make it bigger set it's position as well. Also this seems to need to be called in a loop as when you close the phone the scale is reset. If not in a loop you'd need to call it everytime before you re-open the phone. ```
0xCBDD322A73D6D932
A living reference. Documentation coverage varies by native and source.