SetCameraViewDistance

From Onset Developer Wiki
SetCameraViewDistance

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the player's camera view distance. The default camera view distance for players on-foot is 350.0 units.

Syntax

SetCameraViewDistance(distance)

Parameters

  • distance
    The distance

Return Value

  • This function returns true.

Example

SetCameraViewDistance(500.0)
-- Set the camera view distance 500.0 units away from the ped.

See also

__EDIT_ME__