ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. engineGetModelLODDistance

Function

engineGetModelLODDistance

ClientGame engineIdentical to MTA:SA

Returns a model's draw distance in metres: set with engineSetModelLODDistance or from the San Andreas files.

Syntax

float engineGetModelLODDistance(int modelID)

Arguments

modelIDint
The model.

Returns

The distance or false.

Example

outputChatBox(tostring(engineGetModelLODDistance(1271)))

See also