- Documentation
- Shared functions
- getVehicleTailLightColor
Function
getVehicleTailLightColor
Returns the tail light colour (255, 0, 0 by default).
Syntax
int, int, int getVehicleTailLightColor(vehicle vehicle)Arguments
vehiclevehicle- The vehicle.
Returns
r, g, b.
Example
local vehicle = createVehicle(411, 2000, -1690, 13.5)
outputDebugString(table.concat({ getVehicleTailLightColor(vehicle) }, ", "))