ResetNearClipDistance: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(initial makup)
 
(Remove obsolete Requirements section)
 
Line 13: Line 13:
===Returns===
===Returns===
*'''boolean:''' always returns '''true'''
*'''boolean:''' always returns '''true'''
==Requirements==
{{Requirements|n/a|1.4.1-9.06948}}


==Example==
==Example==

Latest revision as of 17:17, 7 November 2024

This function resets near clip distance set by setNearClipDistance.

Syntax

bool resetNearClipDistance ( )

Returns

  • boolean: always returns true

Example

This example will reset near clip distance.

addCommandHandler("rncd", function()
    resetNearClipDistance()
end)

See Also