Mobile::scriptIsMovingMobilePhoneOffscreen: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
If bool Toggle = true so the mobile is hide to screen.<br>If bool Toggle = false so the mobile is show to screen.
If bool Toggle = true so the mobile is hide to screen.<br>If bool Toggle = false so the mobile is show to screen.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mobile.scriptIsMovingMobilePhoneOffscreen(toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.mobile.scriptIsMovingMobilePhoneOffscreen(toggle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''toggle:''' Boolean
*'''toggle:''' Boolean
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Mobile_function_c}}
{{Mobile_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:27, 6 May 2017

If bool Toggle = true so the mobile is hide to screen.
If bool Toggle = false so the mobile is show to screen.

Syntax

mp.game.mobile.scriptIsMovingMobilePhoneOffscreen(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also