CameraClient

overrideCamSplineVelocity

OVERRIDE_CAM_SPLINE_VELOCITY0x40B62FA033EB0346

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

SignatureJavaScript
overrideCamSplineVelocity(cam: Cam, p1: number, p2: number, p3: number): void
SignatureLua
overrideCamSplineVelocity(cam: Cam, p1: integer, p2: number, p3: number)

Usage

JavaScript
overrideCamSplineVelocity(cam, p1, p2, p3);
Lua
overrideCamSplineVelocity(cam, p1, p2, p3)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger
p1intnumberinteger
p2floatnumbernumber
p3floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void OVERRIDE_CAM_SPLINE_VELOCITY(Cam cam, int p1, float p2, float p3)
Hash
0x40B62FA033EB0346

Open in the interactive natives reference