getPedsLODDistance | Multi Theft Auto: Wiki Skip to content

getPedsLODDistance

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.


This function gets the peds LOD distance.

Syntax

getPedsLODDistance ( )

Code Examples

client

This example adds a/getpedsloddistancecommand which outputs the peds LOD distance to the chatbox.

addCommandHandler( "getpedsloddistance",
function( )
local pedsLODDistance = getPedsLODDistance( )
outputChatBox( "Your peds LOD distance is at " .. pedsLODDistance )
end
)

See Also

World Functions