cellHorizontalModeToggle

CELL_HORIZONTAL_MODE_TOGGLE0x44E44169EF70138E

The 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.

SignatureJavaScript
cellHorizontalModeToggle(toggle: boolean): void
SignatureLua
cellHorizontalModeToggle(toggle: boolean)

Usage

JavaScript
cellHorizontalModeToggle(toggle);
Lua
cellHorizontalModeToggle(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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

Open in the interactive natives reference