ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getFogDistance

Function

getFogDistance

Server and clientMiscellaneousIdentical to MTA:SA

Returns the fog distance stored with setFogDistance (100 by default).

Syntax

float getFogDistance()

Returns

The distance.

Example

outputServerLog(getFogDistance())

See also