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

Player::setVisualFieldMinElevationAngle

Материал из RAGE MP Wiki Archive

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