nanos world API Reference Unofficial documentation
Function Server Moderate

VehicleWheeled:SetHeadlightsSetup

Configures the Headlights Offset and Color.

Syntax

Lua
my_vehicle_wheeled:SetHeadlightsSetup(location, color = Color(1, 0.86, 0.5))

Parameters

Name Type Default Description
location Vector
color optional Color Color(1, 0.86, 0.5)