cellHorizontalModeToggle
CELL_HORIZONTAL_MODE_TOGGLE0x44E44169EF70138EThe GTA V native CELL_HORIZONTAL_MODE_TOGGLE of the MOBILE namespace, as LS:MP client scripts call it: the global function cellHorizontalModeToggle, in JavaScript and in Lua.
cellHorizontalModeToggle(toggle: boolean): voidcellHorizontalModeToggle(toggle: boolean)Usage
JavaScript
cellHorizontalModeToggle(toggle);Lua
cellHorizontalModeToggle(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
if the bool "Toggle" is "true" so the phone is lean.
if the bool "Toggle" is "false" so the phone is not lean.
Reference
- Namespace
- Mobile phone MOBILE
- In the game
void CELL_HORIZONTAL_MODE_TOGGLE(BOOL toggle)- Hash
0x44E44169EF70138E- Formerly
_SET_PHONE_LEAN_CELL_CAM_SET_LEAN