ResetNearClipDistance

From Multi Theft Auto: Wiki
Revision as of 02:15, 13 December 2019 by Luxy.c (talk | contribs) (initial makup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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