cellSetInput

CELL_SET_INPUT0x95C9E72F3D7DEC9B

The GTA V native CELL_SET_INPUT of the MOBILE namespace, as LS:MP client scripts call it: the global function cellSetInput, in JavaScript and in Lua.

SignatureJavaScript
cellSetInput(direction: number): void
SignatureLua
cellSetInput(direction: integer)

Usage

JavaScript
cellSetInput(direction);
Lua
cellSetInput(direction)

Parameters

ParameterTypeJavaScriptLua
directionintnumberinteger

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.

For move the finger of player, the value of int goes 1 at 5.

Reference

Namespace
Mobile phone MOBILE
In the game
void CELL_SET_INPUT(int direction)
Hash
0x95C9E72F3D7DEC9B
Formerly
_MOVE_FINGER _CELL_CAM_MOVE_FINGER

Open in the interactive natives reference