- Dokumentacja
- Funkcje serwera
- getLightColor
Funkcja
getLightColor
Zwraca kolor światła.
Składnia
int, int, int getLightColor(element theLight)Argumenty
theLightelement- Światło.
Zwraca
r, g, b albo false.
Przykład
local lamp = createLight(0, 0, 0, 5, 5, 255, 0, 0)
local r, g, b = getLightColor(lamp)