ResetColorFilter

From Multi Theft Auto: Wiki
Revision as of 10:16, 9 November 2020 by TEDERIs (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.5.8|20718|This function is used to reset the color filtering to its default values.}} ==Syntax== <syntaxhighlight...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is used to reset the color filtering to its default values.

Syntax

bool resetColorFilter ()

Returns

Returns true if the color filtering was reset, false otherwise.

Example

This example lets any player reset the color filtering

function resetFilter()
   resetColorFilter()
end
addCommandHandler("reset_filter", resetFilter) -- Add the command

See Also

Shared