CameraClientNot in this build

getThirdPersonCamMaxOrbitDistanceSpring

_GET_THIRD_PERSON_CAM_MAX_ORBIT_DISTANCE_SPRING0xD4592A16D36673ED

The GTA V native _GET_THIRD_PERSON_CAM_MAX_ORBIT_DISTANCE_SPRING of the CAM namespace, as LS:MP client scripts call it: the global function getThirdPersonCamMaxOrbitDistanceSpring, in JavaScript and in Lua.

SignatureJavaScript
getThirdPersonCamMaxOrbitDistanceSpring(): number
SignatureLua
getThirdPersonCamMaxOrbitDistanceSpring(): number
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
const value = getThirdPersonCamMaxOrbitDistanceSpring();
Lua
local value = getThirdPersonCamMaxOrbitDistanceSpring()

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float _GET_THIRD_PERSON_CAM_MAX_ORBIT_DISTANCE_SPRING()
Hash
0xD4592A16D36673ED
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference