getSearchLightEndRadius | Multi Theft Auto: Wiki Skip to content

getSearchLightEndRadius

Client-side
Server-side
Shared

Pair: setSearchLightEndRadius

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function gets the end radius of a searchlight element.

OOP Syntax Help! I don't understand this!

  • Method: searchlight:getEndRadius(...)
  • Variable: .endRadius

Syntax

float getSearchLightEndRadius ( searchlight theSearchLight )
Required Arguments
  • theSearchLight: the searchlight to get the radius of the searchlight's light cone in its end.

Returns

  • float: value

If the specified searchlight element is valid, this function will return one float , which is the searchlight's end radius. If not, it will return false plus an error message.

Code Examples

shared
-- TODO