- Dokumentacja
- Funkcje wspólne
- getVehicleHeadLightColor
Funkcja
getVehicleHeadLightColor
Zwraca kolor światła reflektorów (domyślnie biały 255, 255, 255).
Składnia
int, int, int getVehicleHeadLightColor(vehicle vehicle)Argumenty
vehiclevehicle- Pojazd.
Zwraca
r, g, b.
Przykład
local vehicle = createVehicle(411, 2000, -1690, 13.5)
local r, g, b = getVehicleHeadLightColor(vehicle)
outputDebugString(r .. ", " .. g .. ", " .. b)