- Dokumentacja
- Funkcje serwera
- getLightType
Funkcja
getLightType
Zwraca rodzaj światła: 0 punktowe, 1 stożkowe.
Składnia
int getLightType(element theLight)Argumenty
theLightelement- Światło.
Zwraca
Rodzaj albo false.
Przykład
local lamp = createLight(1, 0, 0, 5)
outputDebugString(getLightType(lamp))