Skip to main content

Player::setVisualFieldMaxElevationAngle

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

```js player.setVisualFieldMaxElevationAngle(angle); ```

Required Arguments

  • angle: float

Return value

  • Undefined

Example

```js // todo ```

See also