Mobile::setMobilePhoneRotation: Difference between revisions
(yay) |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Last parameter is unknown and always zero.==Syntax==<syntaxhighlight lang="javascript">mobile.setMobilePhoneRotation(rotX, rotY, rotZ, p3);</syntaxhighlight>=== Required Arguments ===*'''rotX:''' float*'''rotY:''' float*'''rotZ:''' float*'''p3:''' unknown | Last parameter is unknown and always zero. | ||
==Syntax== | |||
<syntaxhighlight lang="javascript">mp.game.mobile.setMobilePhoneRotation(rotX, rotY, rotZ, p3);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''rotX:''' float | |||
*'''rotY:''' float | |||
*'''rotZ:''' float | |||
*'''p3:''' int (unknown) | |||
===Return value=== | |||
*'''Undefined''' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
// todo | |||
</syntaxhighlight> | |||
==See also== | |||
{{Mobile_s_function_c}} | |||
[[Category:Clientside API]] | |||
[[Category:Mobile API]] | |||
[[Category:TODO: Example]] | |||
Latest revision as of 02:51, 24 July 2021
Last parameter is unknown and always zero.
Syntax
mp.game.mobile.setMobilePhoneRotation(rotX, rotY, rotZ, p3);
Required Arguments
- rotX: float
- rotY: float
- rotZ: float
- p3: int (unknown)
Return value
- Undefined
Example
// todo
See also
- mp.game.mobile.cellCamActivate
- mp.game.mobile.createMobilePhone
- mp.game.mobile.getMobilePhonePosition
- mp.game.mobile.getMobilePhoneRenderId
- mp.game.mobile.getMobilePhoneRotation
- mp.game.mobile.moveFinger
- mp.game.mobile.scriptIsMovingMobilePhoneOffscreen
- mp.game.mobile.setMobilePhonePosition
- mp.game.mobile.setMobilePhoneRotation
- mp.game.mobile.setMobilePhoneScale
- mp.game.mobile.setPhoneLean