scriptIsMovingMobilePhoneOffscreen
SCRIPT_IS_MOVING_MOBILE_PHONE_OFFSCREEN0xF511F759238A5122The 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.
scriptIsMovingMobilePhoneOffscreen(toggle: boolean): voidscriptIsMovingMobilePhoneOffscreen(toggle: boolean)Usage
JavaScript
scriptIsMovingMobilePhoneOffscreen(toggle);Lua
scriptIsMovingMobilePhoneOffscreen(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 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