getVehiclesLODDistance | Multi Theft Auto: Wiki Skip to content

getVehiclesLODDistance

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

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


Returns the distance of vehicles LOD.

Syntax

getVehiclesLODDistance ( )

Code Examples

client

This example shows the lod distance of vehicles

addEventHandler("onClientResourceStart",resourceRoot,function()
local vehicles,planes_trains = getVehiclesLODDistance()
outputChatBox("general distance of most vehicles: "..math.floor(vehicles),0,255,0)
outputChatBox("distance of planes and trains: "..math.floor(planes_trains),0,255,0)
end)

See Also

World Functions