CameraClient

setFollowVehicleCamSeatThisUpdate

SET_FOLLOW_VEHICLE_CAM_SEAT_THIS_UPDATE0x5C90CAB09951A12F

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

SignatureJavaScript
setFollowVehicleCamSeatThisUpdate(seatIndex: number): void
SignatureLua
setFollowVehicleCamSeatThisUpdate(seatIndex: integer)

Usage

JavaScript
setFollowVehicleCamSeatThisUpdate(seatIndex);
Lua
setFollowVehicleCamSeatThisUpdate(seatIndex)

Parameters

ParameterTypeJavaScriptLua
seatIndexintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_FOLLOW_VEHICLE_CAM_SEAT_THIS_UPDATE(int seatIndex)
Hash
0x5C90CAB09951A12F
Introduced
Game build 1365 legacy numbering
Formerly
_SET_FOLLOW_TURRET_SEAT_CAM

Open in the interactive natives reference