CameraClient

setCamSplineSmoothingStyle

SET_CAM_SPLINE_SMOOTHING_STYLE0xD1B0F412F109EA5D

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

SignatureJavaScript
setCamSplineSmoothingStyle(cam: Cam, smoothingStyle: number): void
SignatureLua
setCamSplineSmoothingStyle(cam: Cam, smoothingStyle: integer)

Usage

JavaScript
setCamSplineSmoothingStyle(cam, smoothingStyle);
Lua
setCamSplineSmoothingStyle(cam, smoothingStyle)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger
smoothingStyleintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_CAM_SPLINE_SMOOTHING_STYLE(Cam cam, int smoothingStyle)
Hash
0xD1B0F412F109EA5D

Open in the interactive natives reference