Skip to main content

Vehicle::taxiLights

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.

Server-side function

JavaScript​

Enables or disables vehicle taxi lights, also return its value.

Required value​

  • enable: boolean

Return value​

  • boolean

Syntax​

vehicle.taxiLights

Example​

const vehicle = mp.vehicles.new(mp.joaat("taxi"), new mp.Vector3(-541.0401611328125, -1287.0777587890625, 26.901586532592773));
vehicle.taxiLights = true;