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

Player::setVisualFieldMaxElevationAngle

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

This native refers to the field of vision the ped has above them, starting at 0 degrees. 90f would let the ped see enemies directly above of them.

Syntax

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

Required Arguments

  • angle: float

Return value

  • Undefined

Example

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

See also