SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje wspólne
  3. getSearchLightStartRadius

Funkcja

getSearchLightStartRadius

Serwer i klientŚwiatłaIdentyczna z MTA:SA

Zwraca promień snopu przy źródle (domyślnie 1).

Składnia

float getSearchLightStartRadius(element theLight)

Argumenty

theLightelement
Reflektor.

Zwraca

Promień w metrach.

Przykład

local light = createSearchLight(0, 0, 30, 0, 10, 0)
outputDebugString(getSearchLightStartRadius(light))

Zobacz też