CameraClientNot in this build

getThirdPersonCamMinOrbitDistanceSpring

_GET_THIRD_PERSON_CAM_MIN_ORBIT_DISTANCE_SPRING0xBC456FB703431785

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

SignatureJavaScript
getThirdPersonCamMinOrbitDistanceSpring(): number
SignatureLua
getThirdPersonCamMinOrbitDistanceSpring(): 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 = getThirdPersonCamMinOrbitDistanceSpring();
Lua
local value = getThirdPersonCamMinOrbitDistanceSpring()

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

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

Open in the interactive natives reference