Перейти к содержанию

Mobile::setMobilePhoneScale

Материал из RAGE MP Wiki Archive
Версия от 21:29, 11 мая 2017; imported>StreetGT
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

The minimum/default is 500.0f. If you plan to make it bigger set it's position as well. Also this seems to need to be called in a loop as when you close the phone the scale is reset. If not in a loop you'd need to call it everytime before you re-open the phone.

Syntax

<syntaxhighlight lang="javascript">mp.game.mobile.setMobilePhoneScale(scale);</syntaxhighlight>

Required Arguments

  • scale: float

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also