CameraClient

setCamSplineNodeVelocityScale

SET_CAM_SPLINE_NODE_VELOCITY_SCALE0xA6385DEB180F319F

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

SignatureJavaScript
setCamSplineNodeVelocityScale(cam: Cam, p1: number, scale: number): void
SignatureLua
setCamSplineNodeVelocityScale(cam: Cam, p1: integer, scale: number)

Usage

JavaScript
setCamSplineNodeVelocityScale(cam, p1, scale);
Lua
setCamSplineNodeVelocityScale(cam, p1, scale)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger
p1intnumberinteger
scalefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_CAM_SPLINE_NODE_VELOCITY_SCALE(Cam cam, int p1, float scale)
Hash
0xA6385DEB180F319F

Open in the interactive natives reference