ResetNearClipDistance

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This function resets near clip distance set by setNearClipDistance.

Syntax

bool resetNearClipDistance ( )

Returns

  • boolean: always returns true

Requirements

Minimum supported server version n/a
Minimum supported client version 1.4.1-9.06948

Note: Using this function/event requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.4.1-9.06948" />

Example

This example will reset near clip distance.

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

See Also

ADDED/UPDATED IN VERSION 1.5.8 r20675:
ADDED/UPDATED IN VERSION 1.5.8 r20718:
ADDED/UPDATED IN VERSION 1.5.8 r20718: