SetCameraViewDistance

From Onset Developer Wiki
Revision as of 19:29, 31 December 2019 by 28days (talk | contribs)
SetCameraViewDistance

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the player's camera view distance.

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__