scriptIsMovingMobilePhoneOffscreen

SCRIPT_IS_MOVING_MOBILE_PHONE_OFFSCREEN0xF511F759238A5122

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

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

Usage

JavaScript
scriptIsMovingMobilePhoneOffscreen(toggle);
Lua
scriptIsMovingMobilePhoneOffscreen(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 bool Toggle = true so the mobile is hide to screen.
If bool Toggle = false so the mobile is show to screen.

Reference

Namespace
Mobile phone MOBILE
In the game
void SCRIPT_IS_MOVING_MOBILE_PHONE_OFFSCREEN(BOOL toggle)
Hash
0xF511F759238A5122

Open in the interactive natives reference