ResetColorFilter

From Multi Theft Auto: Wiki
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 ("resetcolorfilter", resetFilter) -- Add the command

See Also