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

Player::setVisualFieldMinElevationAngle

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

This native refers to the field of vision the ped has below them, starting at 0 degrees. The angle value should be negative.
-90f should let the ped see 90 degrees below them, for example.

Syntax

<syntaxhighlight lang="javascript">player.setVisualFieldMinElevationAngle(angle);</syntaxhighlight>

Required Arguments

  • angle: float

Return value

  • Undefined

Example

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

See also