ResetNearClipDistance

From Multi Theft Auto: Wiki

This function resets near clip distance set by setNearClipDistance.

Syntax

bool resetNearClipDistance ( )

Returns

  • boolean: always returns true

Requirements

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

Note: Using this function 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

BETA: FROM VERSION 1.5.7 r20450 ONWARDS