Mobile::setPhoneLean: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
if the bool 'Toggle' is 'true' so the phone is lean.<br>if the bool 'Toggle' is 'false' so the phone is not lean.
if the bool 'Toggle' is 'true' so the phone is lean.<br>if the bool 'Toggle' is 'false' so the phone is not lean.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mobile.setPhoneLean(Toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.mobile.setPhoneLean(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