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

Player::setVisualFieldMaxElevationAngle

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

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