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

_CELL_CAM_DISABLE_THIS_FRAME

0x015C49A93E3E086E
0x4479B304
// CellCamDisableThisFrame
void _CELL_CAM_DISABLE_THIS_FRAME(BOOL toggle);
Disables the phone up-button, oddly enough.   
i.e.: When the phone is out, and this method is called with false as it's parameter, the phone will not be able to scroll up. However, when you use the down arrow key, it's functionality still, works on the phone.   
When the phone is not out, and this method is called with false as it's parameter, you will not be able to bring up the phone. Although the up arrow key still works for whatever functionality it's used for, just not for the phone.  
This can be used for creating menu's when trying to disable the phone from being used.   
You do not have to call the function again with false as a parameter, as soon as the function stops being called, the phone will again be usable.  

Old name: _DISABLE_PHONE_THIS_FRAME

0x8D74E26F54B4E5C3(char* p0)
0x916CA67D26FD1E37(char* p0)
0x97E7E2C04245115B(Any p0)
0xA0AD167E4B39D9A2(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6, Any p7, Any p8, Any p9, Any p10, Any p11, Any p12, Any p13)
0xA4A0065E39C9F25C(Vector3* p0, float* p1, BOOL* fadeInAfterLoad, BOOL* p3)
0xB51B9AB9EF81868C(BOOL toggle)
0xBA4B8D83BDC75551(Any p0)
0xD10282B6E3751BA0()
0xD642319C54AADEB6()
0xD9F692D349249528()
0xE3D969D2785FFB5E()
0xE532EC1A63231B4F(int p0, int p1)
0xE95B0C7D5BA3B96B(Ped ped)
0xEB078CA2B5E82ADD(Any p0, Any p1)
0xEB2104E905C6F2E9()
0xEBD3205A207939ED(Any* p0)
0xF56DFB7B61BE7276(float p0, float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float* p12)
0xFA3FFB0EEBC288A3(BOOL p0)
0xFAA457EF263E8763(Any* p0, char* name)
0xFB00CA71DA386228()
0xFB80AB299D2EE1BD(BOOL toggle)
Namespace: MOBILE
CAN_PHONE_BE_SEEN_ON_SCREEN()
CELL_CAM_ACTIVATE(BOOL p0, BOOL p1)
_CELL_CAM_DISABLE_THIS_FRAME(BOOL toggle)
CELL_CAM_IS_CHAR_VISIBLE_NO_FACE_CHECK(Entity entity)
_CELL_CAM_MOVE_FINGER(int direction)
_CELL_CAM_SET_DISTANCE(float p0)
_CELL_CAM_SET_HEAD_HEIGHT(float p0)
_CELL_CAM_SET_HEAD_PITCH(float p0)
_CELL_CAM_SET_HEAD_ROLL(float p0)
_CELL_CAM_SET_HORIZONTAL_OFFSET(float p0)
_CELL_CAM_SET_LEAN(BOOL toggle)
_CELL_CAM_SET_ROLL(float p0)
_CELL_CAM_SET_VERTICAL_OFFSET(float p0)