nanos world API Reference Unofficial documentation
Function Network authority Fast Bleeding edge only

Vehicle:SetCameraArmLength

Sets how far the camera stays from this Vehicle while driving it, in centimeters.<br><br>This overrides the Player's own <a href='/docs/scripting-reference/classes/player#function-setcameraarmlength'>Camera Arm Length</a> for as long as they are driving it. Set it to <code>0</code> to use the Player's value instead, which is the default.

Syntax

Lua
my_vehicle:SetCameraArmLength(arm_length)

Parameters

Name Type Default Description
arm_length integer The distance in centimeters, or 0 to use the Player's own value