resetFogDistance | Multi Theft Auto: Wiki Skip to content

resetFogDistance

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 resets the fog render distance to its default state.

Note

The function will reset the fog render distance to false server-side, as there is no default value to begin with.

Syntax

resetFogDistance ( )

Code Examples

server

This example will demonstrate basic functionality of the function.

setFogDistance( 500 )
outputDebugString( "Fog render distance: " .. getFogDistance( ) )
resetFogDistance( )
outputDebugString( "New fog render distance: " .. tostring( getFogDistance( ) ) )

See Also

World Functions